mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
13 lines
238 B
TypeScript
13 lines
238 B
TypeScript
// test_output! false
|
|
|
|
export default function main() {
|
|
const leftBowl = ["apple", "mango"];
|
|
|
|
let rightBowl = leftBowl;
|
|
rightBowl.push("peach");
|
|
|
|
return leftBowl.includes("peach");
|
|
// TypeScript: true
|
|
// ValueScript: false
|
|
}
|