blob: c67b8c96fadbba117d1dd97f7c915222a6e2f26f [file] [log] [blame]
keith_miller@apple.combcc77f22016-07-15 06:03:25 +00001// Copyright (c) 2012 Ecma International. All rights reserved.
2// This code is governed by the BSD license found in the LICENSE file.
3
4/*---
5es5id: 10.4.3-1-12-s
6description: >
7 Strict Mode - checking 'this' (Anonymous FunctionExpression
8 includes strict directive prologue)
9flags: [noStrict]
10---*/
11
12assert.sameValue((function () {
13 "use strict";
14 return typeof this;
15})(), "undefined");