mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
274 B
TypeScript
17 lines
274 B
TypeScript
//// [tests/cases/conformance/statements/withStatements/withStatements.ts] ////
|
|
|
|
//// [withStatements.ts]
|
|
var x = 12;
|
|
with (x) {
|
|
name = 'twelve'
|
|
id = 12
|
|
}
|
|
|
|
//// [withStatements.js]
|
|
"use strict";
|
|
var x = 12;
|
|
with (x) {
|
|
name = 'twelve';
|
|
id = 12;
|
|
}
|