awtk/m.js
2022-04-14 18:29:49 +08:00

13 lines
162 B
JavaScript

var code = '
function foo(a, b) {
return a + b
}
function bar(a, b) {
return a - b
}
'
var m = require_str(code)
print(m.foo(100, 99))
print(m.bar(100, 99))