black

JavaScript考试

登录

单项选择题

var val=’smtg’;console.log(’Valueis’+(val===’smtg’)?’Something’:’Nothing’);()

A.undefined
B.null
C.Something
D.smtg

相关考题

单项选择题 function foo() { let a; window.b = 0; a = window.b; a++; return a; } foo(); typeof a; typeof window.b; ()

单项选择题 const length = 4; const numbers = []; var i; for (i = 0; i < length; i++) { // does nothing } { // a simple block numbers.push(i + 1); } console.log(numbers)结果为? ()

单项选择题 function arrayFromValue(items) { return; [items]; } arrayFromValue(10) ()

All Rights Reserved 版权所有©财会考试题库(ckkao.com)

备案号:湘ICP备2022003000号-2