var val = ‘smtg’;
console.log(‘Value is’ + (val === ‘smtg’) ? ‘Something’ : ‘Nothing’);
选(A)
A: Value is Something
B: Value is Nothing
C:NaN
D: other
前端面试题:var val = ‘smtg‘; console.log(‘Value is‘ + (val === ‘smtg‘) ? ‘Something‘ : ‘Nothing‘);选哪个
阅读 30
2022-02-18
var val = ‘smtg’;
console.log(‘Value is’ + (val === ‘smtg’) ? ‘Something’ : ‘Nothing’);
选(A)
A: Value is Something
B: Value is Nothing
C:NaN
D: other
相关推荐
精彩评论(0)