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.
17 lines
252 B
17 lines
252 B
/*
|
|
* If global code is strict it still gets a 'this' binding
|
|
* (not undefined as in Duktape 0.8.0). This is apparent from
|
|
* E5.1 Section 10.4.1.
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
/*===
|
|
object
|
|
===*/
|
|
|
|
try {
|
|
print(typeof this);
|
|
} catch (e) {
|
|
print(e);
|
|
}
|
|
|