会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
盘思动
三思而后折腾!
博客园
首页
新随笔
联系
订阅
管理
2023年3月8日
instance 例子
摘要: ts中用 instanceof 来判断 对象是否是指定的类型 class Person{ } var obj = new Person() var isPerson = obj instanceof Person; console.log("obj 对象是 Person 类实例化来的吗? " + i
阅读全文
posted @ 2023-03-08 09:48 盘思动
阅读(12)
评论(0)
推荐(0)
编辑
typescript 接口demo
摘要: https://www.runoob.com/typescript/ts-interface.html
阅读全文
posted @ 2023-03-08 09:33 盘思动
阅读(7)
评论(0)
推荐(0)
编辑
公告