mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
322 B
23 lines
322 B
12 years ago
|
/*
|
||
|
* Identifier reference (E5 Section 11.1.2).
|
||
|
*/
|
||
|
|
||
|
/*===
|
||
|
Infinity
|
||
|
var 1
|
||
|
var 2
|
||
|
===*/
|
||
|
|
||
|
/* global identifier */
|
||
|
print(Infinity);
|
||
|
|
||
|
/* var1 defined into global object ("with"-like object binding) */
|
||
|
var1 = "var 1";
|
||
|
print(var1);
|
||
|
|
||
|
/* var2 defined explicitly into global object */
|
||
|
var var2 = "var 2";
|
||
|
print(var2);
|
||
|
|
||
|
/* FIXME */
|