awtk/m.js

13 lines
162 B
JavaScript
Raw Normal View History

2022-04-14 18:29:49 +08:00
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))