摘要:
interface Radio { switchRadio(trigger: boolean): void } class Car implements Radio { //继承一个接口 switchRadio(){} } class Car1 implements Radio,Batattery 阅读全文
摘要:
一、基础类型 布尔值 let isDone: boolean = false; 数字 let decLiteral: number = 6; 字符串 let name: string = "bob"; 数组 let list: number[] = [1, 2, 3]; 元组 Tuple let x 阅读全文
摘要:
index.html注册 var version = "2021/7/8 11:32:10"; //判断是否升级https var host = window.location.host; if(host=="" || host==""){ var http_equiv = document.que 阅读全文