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

9 lines
126 B
TypeScript

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