(1/3).toFixed(3);//0.333
'xxxxx'.toFixed(3);//VM1669:1 Uncaught TypeError: "xxxxx".toFixed is not a function
More than 5 years have passed since last update.
(1/3).toFixed(3);//0.333
'xxxxx'.toFixed(3);//VM1669:1 Uncaught TypeError: "xxxxx".toFixed is not a function
Register as a new user and use Qiita more conveniently