mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
10 lines
153 B
TypeScript
10 lines
153 B
TypeScript
let x: { o: boolean } = { o: false }
|
|
if (x['o'] === false) {
|
|
x['o'] = true
|
|
}
|
|
|
|
const y: [number, number] = [0, 0];
|
|
if (y[0] === 0) {
|
|
y[0] = -1;
|
|
}
|