mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-14 00:14:05 +09:00
reverting new js eval impl
This commit is contained in:
5
assets/evaltest.js
Normal file
5
assets/evaltest.js
Normal file
@@ -0,0 +1,5 @@
|
||||
let src = "var tObj = {}; tObj.testvalue = 'hai'; tObj;"
|
||||
|
||||
var testGlobalObject = eval(src);
|
||||
|
||||
serial.println(testGlobalObject.testvalue);
|
||||
Reference in New Issue
Block a user