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

10 lines
142 B
TypeScript

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