随笔分类 - typescript
摘要:// let title = document.querySelector('#title') as HTMLHeadElement // console.log(title.innerText) // // title.innerText = '666' // // console.log(tit
阅读全文
摘要:names[names.length] = '哈哈哈' names[names.length] = '烤山芋' console.log(names) let nums:number[] = [100,200,300] // for(let i:number = 0; i <= nums.length
阅读全文
摘要:console.log('1 准备开始执行') for(let i: number = 1;i<=3;i++){ console.log('...一锅装不下') } console.log('2 for循环执行结束') 添加配置 { // 使用 IntelliSense 了解相关属性。 // 悬停以
阅读全文
摘要:https://juejin.im/post/6872111128135073806#heading-98
阅读全文

浙公网安备 33010602011771号