Posts
All the articles I've posted.
Drag & Drop API
Published: at 08:00 AM<iframe height="265" style="width: 100%;" scrolling="no" title="js-basic-drag" src="https://codepen.io/llccing/embed/GRRePmw?height=265&theme-id=defau
Cookie 详解
Published: at 08:00 AM一个cookie就是存储在用户浏览器中的一小段文本文件。cookie是纯文本的形式。浏览器将其储存并且根据一系列规则在每个请求中将该信息返回致服务器。web服务器可以用cookie来识别用户(定向投放广告)。多数需要登录的站点通通常会在认证通过后设置一个cookie,之后通过这个cookie做校验。
计算盒模型的各种尺寸
Published: at 08:00 AM上来一张图 offsetWidth/offsetHeight 返回元素的宽度/高度,不包含滚动内容的宽度/高度包括元素的边框、内边距和滚动条。 offsetLeft/offsetTop
AJAX 详解
Published: at 08:00 AMAsynchronous JavaScript + XML, while not a technology in itself, is a term coined in 2005 by Jesse James Garrett, that describes a "new" approach to u
arguments 对象
Published: at 08:00 AM箭头函数中不可用,可以使用arguments对象在函数中引用函数的参数。 <iframe height="265" style="width: 100%;" scrolling="no" title="js-basic-argumetns" src="https://codepen.io/llcci
apply 与 call
Published: at 08:00 AMcall方法使用一个指定的this值和单独给出的一个或多个参数来调用一个函数。 apply使用一个指定的this值和一个参数数组或类数组来调用一个函数。 这两个函数的第一个参数都是指定的this值,apply的第二个参数是array,而call的第二个到第N个参数就是第二个到第N个参数。
Set 与 Map 数据结构
Published: at 08:00 AMES6新提供的数据结构Set。类似数组,但是所有成员都是唯一的,没有重复值。 属性 - Set.prototype.constructor: 构造函数 - Set.prototype.size: 返回实例成员总数
ES6 对象的扩展
Published: at 08:00 AMES6 允许直接写入变量和函数,作为对象的属性和方法,这样的书写更加简洁。 ```js var foo = 'bar'; var baz1 = { foo }; console.log(baz);
前端工程师的职业规划
Published: at 08:00 AM1. 分级:初级、中级、资深、架构师、项目负责人 2. 能力层次: 前端能力(50%),后端能力(25%),业务能力(25%)T字型。 3. 综合素质:软技能、项目经验,沟通组织
ES6 字符串的扩展
Published: at 08:00 AM- 字符的 Unicode 表示法 - codePointAt() - String.fromCodePoint() - 字符串的遍历器接口 - at() - normalize()