summaryrefslogtreecommitdiff
path: root/test/language/arguments-object/10.6-5-1.js
blob: 5c2a2b5caf4967a2df8b1d0cd315aba5780fa29d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 10.6-5-1
description: >
    [[Prototype]] property of Arguments is set to Object prototype
    object
includes: [runTestCase.js]
---*/

function testcase() {
  if(Object.getPrototypeOf(arguments) === Object.getPrototypeOf({}))
    return true;
 }
runTestCase(testcase);