mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 11:08:34 +08:00
13 lines
162 B
JavaScript
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))
|
|
|