首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
逍遥de码农
掘友等级
获得徽章 0
动态
文章
专栏
沸点
收藏集
关注
作品
赞
71
文章 50
沸点 21
赞
71
返回
|
搜索文章
最新
热门
js--手写call和apply方法干货注释满满-CSDN博客
一.1.// 1.console.log(this.fnc.2.// 1.console.log(this.fnc.二.1.console.log(this.Function.prototype.console.obj.obj.delete obj.fnc.2.console.l...
typeScript--[interface接口实现类的定义,函数定义,可索引定义]
一.console. 二.this.this.console.log(this.name + this.三.1.console.2.console.log(obj.
typeScript--[接口interface的继承]
和类一样,接口也可以通过关键字 extents 相互继承。接口继承,分为:单继承和多继承,即继承多个接口。另外,接口也可以继承类,它会继承类的成员,但不包括具体的实现,只会把类的成员作为一种声明。一.二.三.interface B extends A{ //B接口会报错 接口“B...
typeScript--[接口属性interface]
接口是对 JavaScript 本身的随意性进行约束,通过定义一个接口,约定了变量、类、函数等应该按照什么样的格式进行声明,实现多人合作的一致性。TypeScript 编译器依赖接口用于类型检查,最终编译为 JavaScript 后,接口将会被移除。一.带有可选属性的接口与普通的...
typeScript--[类的多态和抽象类、抽象方法]-CSDN博客
一.this.console.console.log(this.console.log(this.d.c.二.this.console.
typeScript--[类的实例方法与静态方法]
一.1.this.this.console.log(this.a.2.this.this.console.log(this.A.console.A.二.1.this.console.log(this.a.2.this.console.a.eat() // 会提示属性“eat”在类...
typeScript--[es6class类实现继承]-CSDN博客
一.this.this.console.log(this.Father.Son.prototype = Father.s.二.this.console.log(this.tss.三.this.console.log(a.name) //属性“name”受保护,只能在类“A”及其子...
typeScript--[函数定义]
一.函数的定义包括两种类型:函数声明和函数表达式。1.2.二.参数后面的限制类型冒号(:)前加问号(?),参数可传可不传。需要注意的是:可选参数必须配置在参数的最后面。console.console.三.默认参数没有位置顺序限制。四.function fn(one: number...
typeScript--[数据定义]-CSDN博客
一.1.2.二.1.创建一个day01.console.2.tsc day01.输出结果为一个 day01.js 文件,它包含了和输入文件中相同的 JavsScript 代码。3.在命令行上,通过 Node.node day01.4.1. 生成配置文件tsconfig.2. 修改...
vue使用docxtemplater导出word实现使用textarea输入的内容换行
let data = {content = this.textarea.exportWord("./换行模板.docx", data, "内容换行.{.
下一页
个人成就
文章被点赞
18
文章被阅读
19,889
掘力值
256
关注了
29
关注者
7
收藏集
1
关注标签
21
加入于
2020-12-22