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