โ๏ธ.valueOf()
๐ง under construction
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.
Last updated
Was this helpful?