250 Câu hỏi trắc nghiệm Javascript, CSS, HTML có đáp án - Phần 2

Cho đoạn code sau, kết quả là: function sayHi() { return (() => 0)(); } console.log(typeof sayHi());

20/50

Cho đoạn code sau, kết quả là:
function sayHi() {
return (() => 0)();
}
console.log(typeof sayHi());

object

number

function

undefined

Giải thích

Chọn đáp án B