mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
18 lines
210 B
TypeScript
18 lines
210 B
TypeScript
//! test_output([true,false,true])
|
|
|
|
export default () => {
|
|
return [
|
|
new X() instanceof X,
|
|
new X() instanceof Y,
|
|
new Error("") instanceof Error,
|
|
];
|
|
};
|
|
|
|
class X {
|
|
x() {}
|
|
}
|
|
|
|
class Y {
|
|
y() {}
|
|
}
|