All browser's w/ name do too, because of MDN's String and Function definition (fromCharCode() and call()).
The the statement is a valid statement -
Regarding your suggestion: I tried to avoid in a loop the in and out of the JS engine AND the String concatenation.
What about overall performance - Is string concatenation not the recipe for increased garbage collection activities? ...of course, 'it all depends', since many things in a system contribute combined to results for better or worse.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
May be I should have been a bit more precise: implement (essential part of) array protocol, because the following works:
and so does
All browser's w/ name do too, because of MDN's String and Function definition (fromCharCode() and call()).
The the statement is a valid statement -
Regarding your suggestion: I tried to avoid in a loop the in and out of the JS engine AND the String concatenation.
What about overall performance - Is string concatenation not the recipe for increased garbage collection activities? ...of course, 'it all depends', since many things in a system contribute combined to results for better or worse.
Why I was looking for this is for my FRAMS module, where this construct comes in very handy for reading back as a String (see http://forum.espruino.com/conversations/257994).