File: constructor_length.js

package info (click to toggle)
kjs 5.103.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,020 kB
  • sloc: cpp: 36,704; javascript: 5,079; yacc: 790; perl: 191; sh: 52; makefile: 7
file content (15 lines) | stat: -rw-r--r-- 489 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
shouldBe("Object.length","1");
shouldBe("Function.length","1");
shouldBe("Array.length","1");
shouldBe("String.length","1");
shouldBe("Boolean.length","1");
shouldBe("Number.length","1");
shouldBe("Date.length","7");
shouldBe("RegExp.length","2");
shouldBe("Error.length","1");
shouldBe("EvalError.length","1");
shouldBe("RangeError.length","1");
shouldBe("ReferenceError.length","1");
shouldBe("SyntaxError.length","1");
shouldBe("TypeError.length","1");
shouldBe("URIError.length","1");