Most Useful JavaScript Tips And Tricks For JavaScript developers | CSS3 Javascript JQuery HTML5 - node.js vert.x | Scoop.it

Here I collected some JavaScript Tips And Tricks and JavaScript Best Practices which can be used in our daily projects or bookmark it for reference purpose.

This includes some useful JavaScript snippets too.

* [] is better than “new Array();”
* Append an array to existing Array in JavaScript
* Check If An Object Is Array in JavaScript
* Truncate array in JavaScript
* JavaScript array to CSV
* Remove array element by Index or value in JavaScript
* Capture browser close Event
* Redirect webpage in JavaScript
* Declare Variables Outside of the For Statement
* Shorten the JavaScript Code snippets
* Conditional Operator in JavaScript
* Use OR (“||”) operator and AND(“&&”) operators in JavaScript


Via Jan Hesse, Shaker technologies