Skip to content

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);