Browsing category JavaScript

Top 11 new features of ES6

ES6 (ECMA Script 6) or ECMA 2015 is the latest version of JavaScript released in June, 2015. ES6 is having lots of cool new features which we are going to explore in the upcoming sessions. Lot of popular JavaScript frameworks such as Angular 2 and React JS are started using the ES 6 features. Currently

PHP style date formats for JavaScript

Developers who worked in PHP know the features of Date functions and formats. The following code will give an idea to implement a PHP style date formats in JavaScript. This class is not a complete solution, it has just only day formats, please extend it to month and year.

How to use this?

JavaScript Method Chaining

Method chaining pattern is very useful to call multiple methods on a same object. This design pattern is very popular in most of the Object Oriented Programming languages such as Ruby, Java, PHP and JavaScript. Nowadays most of the frameworks/CMSs uses Method chaining pattern including jQuery (JavaScript), YII (PHP) and Drupal (PHP) etc. Let’s have