.valueOf()
🚧 under construction
Last updated
Was this helpful?
🚧 under construction
Last updated
Was this helpful?
JS ⟩ value ⟩ type ⟩ conversion ⟩ .valueOf()
valueOf vs. toString
valueOf is called in priority by numeric conversion and primitive conversion.
string conversion calls toString() in priority.