Tutorials on Web Development, Programming, and Web Design

spread operator in Javascript ES6

In Tutorials

The spread operator in Javascript ES6 uses three dots … It also returns 15 to the browser.   Except that the dot-dot-dot is in the caller and not in the function definition.  The function...

read more

Rest parameter in ES6

In Tutorials

In this ES6 example, we define function “adder” with a “rest parameter” called “numbers”.  Note the three dots before the parameter name in the function...

read more

New features in Javascript ES6

In Articles

This page lists some of the new features of the latest version of Javascript as of this writing in 2016.  It is the 6th edition of the ECMAScript Standard (known as ES6 or ECMAScript 2015).  It...

read more

Default function parameters in ES6

In Tutorials

Here is an example of using default function parameters in ES6: You see that the browser displays “Hello John” because we passed in the value “John” into the sayHello...

read more
Learn Web Tutorials is hosted by Hostmonster and design based on Wordpress template by Elegant Themes
All contents are opinions and are copyrighted and may contain display ads and ad links for which site may receive revenues from.
See Terms of Use and Privacy Policy.