Before we take things a step further and see how we can build large-scale applications, I would like to familiarize you with ECMAScript 6 (ES6).
Note
ECMAScript is a client-side scripting language's specification, that is the basis of several programming languages including JavaScript, ActionScript, and JScript.
ES6, also known as ES2015, is the latest version of the ECMAScript standard. The ES6 specification was finalized in June 2015. It is a significant update to the language, and the first major update since ES5 was standardized in 2009. Implementation of ES6 features in major JavaScript engines is underway now (http://kangax.github.io/compat-table/es6/).