The open/write/close pattern comment was made upon @Wilberforce's post #4.
Accessing a property of an object with property name as string or string variable in square bracket provides the ability to do it dynamic. No different ends, just different means (internally it goes a little bit a different path).
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.
The open/write/close pattern comment was made upon @Wilberforce's post #4.
Accessing a property of an object with property name as string or string variable in square bracket provides the ability to do it dynamic. No different ends, just different means (internally it goes a little bit a different path).
In deed, nothing what so ever tried helps... Ic.