What is the result of the following code?
let num = 5; function modifyNum() { num = 10; } modifyNum(); console.log(num);
10
Reference Error
undefined
5