test262/website/resources/scripts/testcases2/15.4.5.json

15 lines
426 B
JSON

{
"testCollection": {
"name": "15.4.5",
"numTests": 1,
"tests": [
{
"id": "15.4.5-1",
"path": "TestCases/chapter15/15.4/15.4.5/15.4.5-1.js",
"description": "Array instances have [[Class]] set to 'Array'",
"test": "assertTrue((function testcase() {\n var a = [];\n var s = Object.prototype.toString.call(a);\n if (s === '[object Array]') {\n return true;\n }\n }).call(this));\n"
}
]
}
}