通过vant 看webpack vue less jsx
1、六种基本数据类型
undefined
null
string
boolean
number
symbol(ES6) //
一种引用类型
Object
2、 vant 里那种闭包的createmonpent
3、inline -block inline-block vertical-align
https://www.cnblogs.com/lsongyang/p/10733761.html
4、
4.1
{
let a = 10;
var b = 1;
}
a // ReferenceError: a is not defined.
b // 1
4.2
var a = [];
for (var i = 0; i < 10; i++) {
a[i] = function () {
console.log(i);
};
}
a[6](); // 10
5 this call apply
6
只要某种数据结构具有Iterator接口,都可以采用数组形式的解构赋值
function* fibs() {
var a = 0;
var b = 1;
while (true) {
yield a;
[a, b] = [b, a + b];
}
}
var [first, second, third, fourth, fifth, sixth] = fibs();
7 v use install
8 Js 的return function
function test(){return function(){ return 1 }}
>test()
ƒ (){ return 1 }
>test()()
9 flex song
https://www.cnblogs.com/samwu/p/4026350.html
10
js中的 || 与 && 运算符详解
11
js 异步return返回问题
12
一次记住js的6个正则方法
13
@media screen and (max-width: 1365px) {
14
apply call
https://www.cnblogs.com/moqiutao/p/7371988.html
15 vs 调试
https://www.cnblogs.com/cnchengv/articles/11023011.html