logo

目录

Javascript Quiz(二)

Q46. What will the value of y be in this code:

const x = 6 % 2;const y = x ? 'One' : 'Two';
One
undefined
TRUE
Two

Q47. Which keyword is used to create an error?

throw
exception
catch
error

Q48. What’s one difference between the async and defer attributes of the HTML script tag?

本章目录
    1v1免费职业咨询