importance of parseInt

PHOTO EMBED

Tue Aug 24 2021 07:37:28 GMT+0000 (Coordinated Universal Time)

Saved by @rushiithombre #javascript

var a =  10/6;
console.log(a);
//The parseInt() converts the numeric string value to an integer value.



output
VM54430:2 1.6666666666666667
content_copyCOPY