If I have the following:
(8
Is there a way to get the number 8
out of it without splitting it? Using parseInt
returns NaN
. Is there an alternative to parseInt
that ignores non-numbers?
If I have the following:
(8
Is there a way to get the number 8
out of it without splitting it? Using parseInt
returns NaN
. Is there an alternative to parseInt
that ignores non-numbers?