Espruino/tests/test_settimeout_args.js
Gordon Williams 3f59263c33 Use jsvUnlockMany to tidy up code and save some space
jsiExecuteEventCallback cal now take an arbitrary number of arguments
            Allow setTimeout/setInterval to take extra arguments (fix #532)
2015-05-06 15:58:29 +01:00

8 lines
161 B
JavaScript

// https://github.com/espruino/Espruino/issues/532
setTimeout(function(a,b,c) {
result = (a+" "+b+" "+c)=="Hello World Test"
},10,"Hello","World","Test");