black

JavaScript考试

登录

单项选择题

TypeScript如果定义变量未声明类型,那么该变量将默认为什么类型()

A.any
B.null
C.undefined
D.number

相关考题

单项选择题 var val=’smtg’;console.log(’Valueis’+(val===’smtg’)?’Something’:’Nothing’);()

单项选择题 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)结果为? ()

All Rights Reserved 版权所有©PP题库网库(pptiku.com)

备案号:湘ICP备14005140号-5

经营许可证号:湘B2-20140064