mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 07:34:20 +03:00
8 lines
106 B
TypeScript
8 lines
106 B
TypeScript
|
let o: object = {};
|
||
|
|
||
|
function f(): object {
|
||
|
return {};
|
||
|
}
|
||
|
|
||
|
const b1 = "foo" in o;
|
||
|
const b2 = "bar" in f();
|