Awesome_929

  • Home

  • Tags

  • About

  • Archives

数组方法及应用

Posted on 2017-07-21 | In Basic_JS

array-methods

1. forEach

1
2
3
4
5
6
7
8
const arr = ["CR","Messi","KaKa"];
for(var i = 0;i<arr.length;i++){
console.log(arr[i]);
}

arr.forEach(value =>{
console.log(value);
})
Read more »

JavaScript中的this

Posted on 2017-07-14 | In Basic_JS

This

1. 全局执行

1). 浏览器:

window

2). node:

global
Read more »

jQuery中的Promise

Posted on 2017-07-11 | In Promise

0

在之前的ajax(promise)/libs/request.js)说过JQuery中也有封装好的Promise方法,所以详细介绍一下JQuery的Promise。

Read more »

Hexo文章简单加密访问

Posted on 2017-07-10 | In 博客

加密test

加密Test

Read more »

Coding Standards

Posted on 2017-07-09 | In 代码规范

Standards

javascript 代码规范

代码规范我们应该遵循古老的原则:“能做并不意味着应该做”。

Read more »

Git部分常用命令[转]

Posted on 2017-07-07 | In Git

git

初始化本地git仓库(创建新仓库)

1
git init
Read more »

JavaScript继承的方式

Posted on 2017-07-04 | In Basic_JS

inherit

原型链继承

每个构造函数都有一个原型对象,其中包含的是指向构造函数的指针,而构造函数的实例都包含了指向原型对象的内部指针。原型链继承的实现方式就是让父类的原型对象等于超类构造函数的实例,通过继承的方式,使子类能够拥通过原型链得到属性和方法。

Read more »

面试记 —— 7.3

Posted on 2017-07-03 | In 生活

7-3-interview

有三件事总是在事后觉得当时没发挥好:和喜欢的人聊天、吵架、面试。

Read more »

模块化简略说明

Posted on 2017-07-02 | In 模块化

输入url到页面呈现

为什么要使用模块

模块化可以使你的代码低耦合,功能模块直接不相互影响。模块化有这几个优点:

Read more »

CSS中的居中方式

Posted on 2017-07-01 | In HTML、CSS

doctype

以下几种方法针对不同的浏览器,经过测试,从IE8及以下到IE9+、Safari都可以支持。

1.标准浏览器全兼容,内容水平居中

Read more »
12345
Zoe

Zoe

心之所向,素履以往。

47 posts
25 categories
40 tags
GitHub E-Mail
© 2019 Zoe