1
0
Fork 0
forked from fun/fun

Added sha384.fun to std library and alot of fixes. (0.16.3)

This commit is contained in:
Johannes Findeisen 2025-10-01 19:08:08 +02:00
commit 17241b2401
18 changed files with 820 additions and 314 deletions

View file

@ -29,3 +29,26 @@ print(typeof(x)) // -> "String"
// Typed byte must remain numeric (uint8):
// b = "oops" // Uncomment to see a runtime type error
/* Expected output:
=== byte with hex literal and clamping ===
255
255
255
=== for-loop reassigning a byte variable (shows clamping near the top end) ===
250
251
252
253
254
255
255
255
255
255
=== dynamic vs typed ===
Number
String
*/