不吃猫的鱼

1
获赞数
12
关注数
0
粉丝数
杭州
IP 属地福建
2016-11-02 加入
浏览 4.3k

Web Developer

9 声望
javascript
7
node.js
5
web
2
recursion
1
html+css+js
0
黄金勋章
暂未获得该勋章
如何获得
白银勋章
暂未获得该勋章
如何获得
1 青铜勋章
个人动态
  • 发布了文章2018-09-14
    Security risk for opening new tabs or windows
    Opening a new tab/window, either by hyperlinks (i.e <a> tag with target attribute set to _blank) or programmatically calling window.open, will grant the newly-opened tab/window access back to the originating tab/window via window.opener. The...
  • 发布了文章2018-05-01
    Fixed with absolute
    clientWidth: gives you the size of the space inside the element, ignoring border width.
  • 发布了文章2018-03-27
    Introuction to JavaScript iterator
    ES6 introcues a new type called symbol. The Symbol function returns a value of type symbol.
  • 发布了文章2018-03-25
    Understanding Recursion
    Recursion, simply put, is calling a function on itself. It can used to break down complex problems into smaller manageable similar units that can be handled by the same function.
  • 发布了文章2018-03-16
    Useful APIs that you probably don't notice
    If the seperator is a regular expression that contains capturing groups, the capturing groups will appear in the result as well.
  • 发布了文章2018-03-14
    You need to know curry
    Functions are first-class citizen in JavaScript, as the same as other types(e.g. number, array, object). They can be used as arguments, as well as return value from other function.
  • 发布了文章2018-03-13
    Deep dive into JS asynchronicity
    JavaScript has a concurrency model based on event loop. Each message is processed completely before any other message is processed. This offers some nice properties when reasoning about your program, including the fact that whenever a function run...
  • 发布了文章2018-03-12
    Some useful JS techniques that you may not know
    I complete reading JavaScript Enlightenment recently. The book is more about basics in JavaScript and suitable for beginners. Here are a list of my benefits and extensions from the book.
  • 发布了文章2018-03-11
    Five minutes to understand async and defer
    When we want to insert a script into a web page, the standard way is to use the script tag(i.e. <script>). The first impression that comes to people's mind about script tag is - BLOCKING . The book High Performance Web Sites Rule 6 suggests ...
  • 发布了文章2018-03-09
    Make a simple custom EventEmitter
    Recently I have been reading the book Async Javascript about JS asynchronicity and JS event is one of the useful solutions to the problem. To get a deeper understanding of how events work, I create a custom EventEmitter which constains most of the...