Thanks :)
So g.drawString() also can be called this way g["drawString"]("Hello",10,10); and g["drawString"].apply(g,p); works too.
g["drawString"]("Hello",10,10);
g["drawString"].apply(g,p);
@MaBe started
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.
Thanks :)
So g.drawString() also can be called this way
g["drawString"]("Hello",10,10);
andg["drawString"].apply(g,p);
works too.