mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-12 23:18:03 -05:00
13 lines
239 B
TypeScript
13 lines
239 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
|
|
}
|