FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

Problem-Solving/JavaScript/Number toString.md at master · Prosen-Ghosh/Problem-Solving · GitHub

Latest commit

 

History

History
28 lines (19 loc) · 315 Bytes

File metadata and controls

28 lines (19 loc) · 315 Bytes

Number toString Code Wars Problem Solution.

/*
    *
    * Prosen Ghosh
    * American International University - Bangladesh (AIUB)
    *
*/

Problem:

The code gives an error!

a = 123.toString Fix it!

Solution:

var a = Number(123).toString();

//Or

var a = String(123);

Back | FazBrowse Home | New Git URL