swc/crates/swc_ecma_parser/tests/tsc/useObjectValuesAndEntries2.ts
2022-02-04 17:08:38 +09:00

10 lines
139 B
TypeScript

// @target: es5
// @lib: es5
var o = { a: 1, b: 2 };
for (var x of Object.values(o)) {
let y = x;
}
var entries = Object.entries(o);