Какой метод поможет получить функцию с измененным контекстом?
Anonymous Quiz
10%
call()
11%
apply()
44%
bind()
8%
никакой
28%
все из вышеупомянутых
У каких примитивов нет методов?
Anonymous Quiz
73%
null, undefined
6%
null, bigint
6%
boolean, bigint
15%
undefined, boolean
let array = [1, 2, 3];
array.unshift(1);
console.log(array);
array.unshift(1);
console.log(array);
Anonymous Quiz
54%
[1, 1, 2, 3]
35%
[2, 3]
4%
[2, 3, 1]
7%
[1, 2, 3, 1]
Ответ
Anonymous Quiz
21%
false true
11%
"Andrew" 20
12%
true true
40%
undefined undefined
16%
true false
Ответ
Anonymous Quiz
3%
TypeError
56%
undefined
30%
'19000'
11%
ReferenceError: employeeId is not defined