'any other parameter that gets the (code) bomb ticking...'
I thought some would read too much into what the code's intention was.
The dilemma. Use all day to take a ginormous file and whack at it to make it as concise as possible to make a feeble attempt to get to a simplified snippet to use as the source, or use a concise solution and make a few code line changes to get the point across. @MaBe had a nice easy to use proven solution that I chose instead.
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.
Mon 2018.10.08
I thought some would read too much into what the code's intention was.
The dilemma. Use all day to take a ginormous file and whack at it to make it as concise as possible to make a feeble attempt to get to a simplified snippet to use as the source, or use a concise solution and make a few code line changes to get the point across. @MaBe had a nice easy to use proven solution that I chose instead.