P. 1
Standard ECMA 262

Standard ECMA 262

|Views: 28|Likes:
Publicado porDelfi Ramirez

More info:

Published by: Delfi Ramirez on Feb 13, 2010
Direitos Autorais:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/24/2012

pdf

text

original

The operator ToString converts its argument to a value of type String according to the following table:

Input Type

Result

Undefined

"undefined"

Null

"null"

Boolean

If the argument is true, then the result is "true".

If the argument is false, then the result is "false".

Number

See note below.

String

Return the input argument (no conversion)

Object

Apply the following steps:

Call ToPrimitive(input argument, hint String).
Call ToString(Result(1)).
Return Result(2).

You're Reading a Free Preview

Descarregar
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->