Merge pull request #283 from marcioos/master

Rephrasing Array#push style guide
This commit is contained in:
Josh Perez
2015-04-05 21:05:51 -07:00

View File

@@ -135,7 +135,7 @@
var items = [];
```
- If you don't know array length use Array#push.
- Use Array#push instead of direct assignment to add items to an array.
```javascript
var someStack = [];