Category: JavaScript/Jquery

String Methods in ES6

String.includes() The includes() method returns true if a string contains a specified value, otherwise false: String.startsWith() The startsWith() method returns true if a string begins with a specified value, otherwise...
READ MORE   >>

Template Literals/ Rest Parameter & Spread Operator in ES6

Template Literals in ES6 The template literal has made it easier to include variables inside a string. const first_name = "shairy"; const last_name = "kalra"; Before ES6 console.log('Hello ' + first_name + ' ' +...
READ MORE   >>

Destructuring in ES6

The destructuring syntax makes it easier to assign values to a new variable. Array Destructuring – show you how to assign elements of an array to variables. function getScores() {    return [70, 80, 90]; } Before...
READ MORE   >>

Function in JS / ES6

Default Function                        ...
READ MORE   >>

Recent Comments

    • Copyright © 2020 (Er. Shairy Kalra). All Rights Reserved