import * as qs from "querystring";

// 测试 querystring.parse 返回对象
let r = qs.parse("a=1&b=2");
if (typeof r !== "object") {
    console.log("FAIL: parse should return object, got " + typeof r);
    console.log("=== Result: 0 ===");
} else {
    console.log("PASS: parse returns object");
    console.log("=== Result: 1 ===");
}
