summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/statements/function/S13.2_A7_T1-strict.js
blob: 049044d2b32ff060f80aa03a0346455fb95eebc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';
// Copyright 2011 Google Inc.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 13.2_A7_T1
description: check if "caller" poisoning poisons  hasOwnProperty too
flags: [onlyStrict]
---*/

(function(){}).hasOwnProperty('caller');

reportCompare(0, 0);