Skip to main content

Promise

· 3 min read
Lex
Front End Engineer @ Baoxiaohe
  • What's Promise?
  • Why the Promise?
  • How using Promise?

舟山志事

· One min read
Lex
代码狗

关于舟山,一些零碎的记忆。

找海

从杭州驱车到达舟山,便想着偶遇的海滩。只不过在过于商业化的旅游区,野海滩是不可遇也不可求的。

赤脚站在沙滩上,一阵阵海浪袭来,双脚能清晰的感知到细沙的流逝,似乎不一会就要沉入海底。这才是海嘛。

地球是平的

起了个大早,只为拥有出海捕鱼的经历。极目远眺也望不尽的地平线,此刻谁又能说天圆地方是错的呢?

海岛上驻留了一群群白色的候鸟,也许它们刚经历长途飞行,正拖着疲惫的身躯,为了完成回归的承诺。

What Todo When Resign

· One min read
Lex
Front End Engineer @ Baoxiaohe

Before#

Clear browser cookie and any private data.(include Virtual Box)

What Life is

· One min read
Lex
Front End Engineer @ Baoxiaohe

生命不是活了多久,而是拥有多少回忆。

Axios

· One min read
Lex
Front End Engineer @ Baoxiaohe

Axios 是一个基于 promise 的 HTTP 库,可以用在浏览器和 node.js 中。

Use Axios#

Live Editor
Result
SyntaxError: Unexpected token (1:8)
1 : return ()
            ^