const num = parseInt("100")
Instead of using parseInt
or parseFloat
we can use +
operator
const num = +"100"
num + 5
// 105
const num = parseInt("100")
Instead of using parseInt
or parseFloat
we can use +
operator
const num = +"100"
num + 5
// 105
For further actions, you may consider blocking this person and/or reporting abuse
Rails Designer -
pauq -
KAMAL KISHOR -
Mike Young -
Top comments (1)
Number(“100”)
Should also work.