4aad73cc创建于 2025年7月9日历史提交
var input = require("input");

f = new input.Foo();
if (f.foo(2) != 4) {
    throw new Error;
}

if (f.foo(null) != null) {
    throw new Error;
}

if (f.foo() != null) {
    throw new Error;
}

if (input.sfoo("Hello") != "Hello world") {
    throw new Error;
}

if (input.sfoo() != null) {
    throw new Error;
}