What will be the output of the following code?
const number = '123'; console.log(parseInt(number));
NaN
123
An error will occur because parseInt cannot be used with strings.
parseInt