Re the first example you'd want a key in the querystring something like ?temp=23
You'd then be able to access as a.query["temp"].
In your second I can see what you want to do but syntax not quite right. You'd split to a new variable for one thing.
Happy to give you the right code later - on a mobile currently- but this may help you
© Espruino, powered by microcosm.
Report a problem