
Javascript算法和数据结构学习
Object.freeze(obj);
发布日期:2021-05-07 18:04:49
浏览次数:19
分类:技术文章
本文共 1860 字,大约阅读时间需要 6 分钟。
It always seems impossible until it’s done.
英文单词
Assignment Destructuring opposite 对立,相对 Curriculum 课程一个重要的点就是要及时进行复习。
JAVAScript学习目录大纲
Basic Javascript
ES6 powerful Features
箭头函数
类 模块 Promise generators let and const
const myFunc = () => "value";
对象的解构复制
数组的展开…我觉得你可能不理解Destructuring这个词的意思,但是你肯定会使用,因为太简单了,这就好比我们生活中一些常见的事物背后对应着一个罕见的学术名词的时候,那么你肯定会说为什么不起一个简单的名字呢?只能说简单的名字已经被占了。NaCL 是非常常见的。NaCL是什么?就是食盐啊。
class关键字
Use getters and setters to Control Access to an Object
Create a Module Script
export
When you export a variable or function, you can import it in another file and use it without having to rewrite the code. You can export multiple things by repeating the first example for each thing you want to export, or by placing them all in the export statement of the second example, like this:export { add, subtract };
import Use * to Import Everything from a File
export default:
import default

Promise make a promise to sth
A promise has three states: pending, fulfilled, and rejected.
regular expression
match
search replace/${pattern}/${flag}
test 方法是regex上的方法,返回值true, false
regexVar.test(stringVar)
match是string上的方法
stringVar.match(regexVar)flag
iggreedy match
lazy matchbegin ^
end $缩写
\w
\W
\d
\D
Positive and Negative Lookahead Debugging
语法错误
运行错误 实现错误工具和方法
console.log typeofBasic Data Structure
Array
ObjectBasic Algorithm Script
一些逻辑练习题
Object Oriented Programming
Use Dot Notation to Access the Properties of an Object
instanceof
Prototype Since all instances automatically have the properties on the prototype, think of a prototype as a “recipe” for creating objects. Note that the prototype for duck and canary is part of the Bird constructor as Bird.prototype. Nearly every object in JavaScript has a prototype property which is part of the constructor function that created it. PrototypeFunctional Programming
发表评论
最新留言
网站不错 人气很旺了 加油
[***.192.178.218]2025年03月17日 22时20分04秒
关于作者

喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
趣谈win10常用快捷键
2019-03-04
趣谈文件扩展名和隐藏文件
2019-03-04
追梦App系列博客——第五次例会总结
2019-03-04
数学建模(NO.18灰色预测)
2019-03-04
数学建模更新12(数学线性规划模型1)
2019-03-04
数学建模更新12(多目标规划)
2019-03-04
Java入门笔记(第三章 类与对象之static静态用法)
2019-03-04
Android,SharedPreferences的使用
2019-03-04
(一)Xshell中给Ubuntu20.04服务器安装mysql并修改密码
2019-03-04
Android中使用ViewPager和Fragment实现底部导航栏
2019-03-04
VLAN与Trunk的原理及配置
2019-03-04
三层交换技术及配置
2019-03-04
华为hybrid vlan配置
2019-03-04
OSPF路由重分发配置实例
2019-03-04
VS中使用c++函数显示找不到标识符
2019-03-04
排列组合
2019-03-04
Why Software Development Methodologies Suck?
2019-03-04
怎样从0开始搭建一个测试框架_0
2019-03-04
JPEG压缩技术
2019-03-04
Algorithm: K-Means
2019-03-04