搜索结果
查询Tags标签: newP,共有 3条记录-
javascript笔记
类与继承 use strict class student{constructor(name){this.name = name;}hello(){alert(hello);} } class stu2 extends student{constructor(name,grade){super(name);this.grade = grade;}xx(){alert(hello);} } var x1 = new student(xiaoli); var x2 = new stu2(xia…
2022/3/6 14:51:34 人评论 次浏览 -
c++哈希堆的实现
#include <iostream> #include <utility> #include <string> #include <cstring> #include <vector> #include <map> #include <set> #include <stack> #include <queue> #include <unordered_map> #include…
2021/6/16 20:51:35 人评论 次浏览 -
javascript(操作BOM对象)
javascript与浏览器的关系? javascript诞生就是为了能够让他在浏览器中运行 BOM:浏览器对象模型 IE 6~11 Chrome Safari FireFox 三方 QQ浏览器 360浏览器 Window window代表浏览器窗口 window.alert(1) window.innerHeighr Navigator Navigator封装了浏览器的信息 navi…
2021/6/15 22:47:10 人评论 次浏览