aboutsummaryrefslogtreecommitdiffstats
path: root/website/resources/scripts/testcases2/15.1.1.1.json
blob: 3feb308179648b20f6724196ce324109cfb56823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
 "testCollection": {
  "name": "15.1.1.1",
  "numTests": 1,
  "tests": [
   {
    "id": "15.1.1.1-0",
    "path": "TestCases/chapter15/15.1/15.1.1/15.1.1.1/15.1.1.1-0.js",
    "description": "Global.NaN is a data property with default attribute values (false)",
    "test": "var global = this;assertTrue((function testcase() {\n  var desc = Object.getOwnPropertyDescriptor(global, 'NaN');\n  if (desc.writable === false &&\n      desc.enumerable === false &&\n      desc.configurable === false) {\n    return true;\n  }\n }).call(this));\n",
    "precondition": "(fnExists(Object.getOwnPropertyDescriptor))"
   }
  ]
 }
}