Espruino/tests/test_function_decl.js
2014-01-29 10:44:31 +00:00

7 lines
209 B
JavaScript

// issue with function decls when the last token is right at the end of the line
var a=eval("function a() {\naaaaaaaaa\nssssssss\n}")
var r=a.toString();
result = r=="function () {\naaaaaaaaa\nssssssss\n}";