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
Julian Martinez -
John Brooks -
Guillaume Sere -
Lucas Brogni -
Top comments (1)
Number(“100”)
Should also work.