-
# promise规范
promise最早是在commonjs社区提出来的,当时提出了很多规范。比较接受的是promise/A规范。后来人们在这个基础上。提出了promise/A+规范,也就是实际上的业内推行的规范。es6也是采用的这种规范。
promise/A规范在[这里](http://wiki.commonjs.org/wiki/Promises/A)
promis…
-
```
module: {
//加载器配置
loaders: [
//.css 文件使用 style-loader 和 css-loader 来处理
{ test: /\.css$/, loader: 'style-loader!css-loader' },
…
-
Want to at least start writing this, although quite tired!
So...
First of all, welcome to new members @cranbim and @nat47 - and thanks to everybody for contributing to the discussion. Also, thank…
-
- TypeScript: Documentation - Utility Types [https://www.typescriptlang.org/docs/handbook/utility-types.html#intrinsic-string-manipulation-types](https://www.typescriptlang.org/docs/handbook/utility-t…
-
* Use same font, fontsize & color as the
"Learn more" text.
* Make sure it's well aligned so the left and right end
of the text has equal distance from the edge of the screen.
Ensure it works witho…
-
La asociación promueve distintas actividades durante el año. En cada una de ellas nos mostramos al mundo y ponemos en juego nuestra reputación, además de servir como escaparate para lograr financiació…
-
We have mentions of various graph commands across different parts of the book. I think it is better to group them into the separate section, after "Analysis" one. Since analysis was introduced already…
-
https://mp.weixin.qq.com/s?__biz=Mzg2ODQ1OTExOA==&mid=2247491502&idx=1&sn=130b405b88b3ba34b7d86605bc0683ae
-
# related:
- ✅️ #185
- ✅️ #184
-
## 检查类型
用类型检查操作符(is)来检查一个实例是否属于特定子类型,返回 true 或 false 。
## 申明变量
``` swift
var aaa = 1 //很长的数值可以用 _ 来分隔,如 111_222.1 = 111222.1
```
根据值判断变量类型
## 字符输出
``` swift
println( "hello \(aaa) !" );
```
`aaa`…