Files
ValueScript/inputs/passing/destructuring/decl/object.ts
2023-03-01 12:35:11 +11:00

8 lines
106 B
TypeScript

// test_output! 3
export default function main() {
const { a, b } = { a: 1, b: 2 };
return a + b;
}