mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-13 07:28:03 -05:00
20 lines
354 B
TypeScript
20 lines
354 B
TypeScript
//! test_output([true,false,false,true,true,true,false,true,true])
|
|
|
|
export default function () {
|
|
return [
|
|
"foo" in { foo: "bar" },
|
|
"bar" in { foo: "bar" },
|
|
"foo" in ["foo"],
|
|
0 in ["foo"],
|
|
"0" in ["foo"],
|
|
"foo" in new C(),
|
|
"forEach" in [],
|
|
"map" in [],
|
|
Symbol.iterator in [].entries(),
|
|
];
|
|
}
|
|
|
|
class C {
|
|
foo() {}
|
|
}
|