Files
ValueScript/inputs/passing/readme-demo.ts
Andrew Morris bc1afa24c4 Add more tests
2023-02-28 15:28:06 +11:00

11 lines
251 B
TypeScript

// test_output! {"leftBowl":["apple","mango"],"rightBowl":["apple","mango","peach"]}
export default function main() {
const leftBowl = ['apple', 'mango'];
let rightBowl = leftBowl;
rightBowl.push('peach');
return { leftBowl, rightBowl };
}