编辑代码
Shell/Bash代码
运行
#JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。
function
sum
() { s=100 s= $[
$1
+
$2
]
echo
$s
} sum 1 1