我是靠谱客的博主 畅快宝马,这篇文章主要介绍前端面试题:var val = ‘smtg‘; console.log(‘Value is‘ + (val === ‘smtg‘) ? ‘Something‘ : ‘Nothing‘);选哪个,现在分享给大家,希望可以做个参考。
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‘);选哪个的全部内容,更多相关前端面试题:var内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复