mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
jsiExecuteEventCallback cal now take an arbitrary number of arguments
Allow setTimeout/setInterval to take extra arguments (fix #532)
8 lines
161 B
JavaScript
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");
|
|
|
|
|