What will be the output of the following code?
function multiply(a, b) {
if (typeof a !== 'number' || typeof b !== 'number') {
throw new Error('Both arguments must be numbers');
}
return a * b;
}
try {
const result = multiply(5, '2');
console.log(result);
} catch (error) {
console.log(error.message);
}