13 lines
176 B
JavaScript
13 lines
176 B
JavaScript
//// [withStatements.ts]
|
|
var x = 12;
|
|
with (x) {
|
|
name = 'twelve'
|
|
id = 12
|
|
}
|
|
|
|
//// [withStatements.js]
|
|
var x = 12;
|
|
with (x) {
|
|
name = 'twelve';
|
|
id = 12;
|
|
}
|