[Added in 1.62] Array.shift() is missing #257
Unanswered
espruino-discuss
asked this question in
JavaScript
Replies: 2 comments
-
Posted at 2014-04-24 by @gfwilliams Thanks. I've just added a bug for this: espruino/Espruino#342 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted at 2014-04-24 by Alex great :) thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2014-04-24 by Alex
Hi All,
I noticed the Array.shift() is missing. It is easily replaced by Array.splice(0,1) but in order for code to work on the espruino exactly as it does on node or chome, it would be a useful addition.
ref: http://www.w3schools.com/jsref/jsref_shift.asp
Regards,
Alex
Beta Was this translation helpful? Give feedback.
All reactions