mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
another test
This commit is contained in:
parent
472414461c
commit
78f9cf0396
6
tests/test_function_array_002.js
Normal file
6
tests/test_function_array_002.js
Normal file
@ -0,0 +1,6 @@
|
||||
// Test a function returning an array
|
||||
function a() { return [function () { return [41,42,43]; }] ; };
|
||||
|
||||
var v = a()[0]()[1];
|
||||
|
||||
result = v==42;
|
||||
Loading…
x
Reference in New Issue
Block a user