W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
let v: any = true; v = "string"; // 没有错误,因为它可以是 "any" 类型 // v.runANonExistentMethod(); // 在编辑器中不会出现类型错误,但如果取消注释仍会抛出错误 console.log(Math.round(v)); // 没有错误,因为它可以是 "any" 类型