Advertisement
728x90
javascript
1var y = 1;
2
3if (function f() {}) {
4
5y += typeof f;
6}
7
8console.log(y);Choose the correct output:
A
1functionB
1objectC
ReferenceErrorD
1undefinedAdvertisement
Responsive Ad
5of86
Advertisement
1var y = 1;
2
3if (function f() {}) {
4
5y += typeof f;
6}
7
8console.log(y);Advertisement