Giter Club home page Giter Club logo

Comments (6)

xhlwill avatar xhlwill commented on July 21, 2024 2

safari 11 测试了几次,和 chrome 一样
2018-04-08 2 48 46

from blog.

ipengyo avatar ipengyo commented on July 21, 2024

make 这种问题很纠结人啊。

from blog.

Aaaaaaaty avatar Aaaaaaaty commented on July 21, 2024

@ipengyo 主要是规范就一套,不同环境自己实现,最后的结果可能都不太一致=。=

from blog.

xhlwill avatar xhlwill commented on July 21, 2024

另:《从hello world看JavaScript隐藏的黑魔法制》链接好像错了

from blog.

Aaaaaaaty avatar Aaaaaaaty commented on July 21, 2024

@xhlwill 已修正 谢谢指出~

from blog.

stickmy avatar stickmy commented on July 21, 2024

node 部分其实不难理解, 看 ryf 这篇 http://www.ruanyifeng.com/blog/2018/02/node-event-loop.html, timers 阶段会执行到期的 timers,两个 setTimeout 到期了会先执行,每执行一次 macroTask 会执行一轮 microTask,所以 Promise 会在之后执行

from blog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.