14 lines
176 B
JavaScript
14 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;
|
||
|
}
|