archives

« Bugzilla Issues Index

#4366 — 4.3.19 String object coercion


"A String object can be coerced to a String value by calling the String constructor as a function (21.1.1.1)"

Maybe it could be similar to the Boolean object definition:

"A String object can be coerced to a String value"

Or maybe it could be more precise:

"A String object can be coerced to a String value by calling the valueOf method"

Similar problem at 4.3.22 (Number Object) definition.