15.5.2 String constructor

2010-07-08

String new String([value:mixed])

String.[[Prototype]] is the built in String prototype object (15.5.3.1).

String.prototype = String.[[Prototype]]
String.[[Class]] = "String"
String.[[Extensible]] = true
String.[[PrimitiveValue]] = ToString(value)

String.length = 1