arguments.length bug (not critical, but good to know) #1135
Replies: 4 comments
-
Posted at 2018-01-26 by mrQ found in 1v95 on EspruinoWIFI |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-26 by @gfwilliams Thanks for letting me know! I put a bug in for it here: espruino/Espruino#1321 You probably gathered already but it's because you specified an argument I think probably the sensible option for now is just to document this difference in the reference for I guess there should probably be a page for known differences to the ES5 spec, like the newline handling and lack of unicode |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-26 by mrQ at least some hint in the API doc (http://www.espruino.com/Reference#l__global_arguments) would be fine. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-29 by @gfwilliams Just done! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-01-26 by mrQ
my test snippet:
these tests are fine:
and here is the flaw:
as already mentioned - it's not critical, but some libraries written for node may fail in their arguments check.
Beta Was this translation helpful? Give feedback.
All reactions