.includes
---------
const fullname = 'kamal singh rawat';
const substring = 'kamal';
console.log(fullname.includes(substring)); // true
.repeat
--------
'*'.repeat(3); // '***'
Template Literal
--------------
var firstname = 'csharp';
var lname = 'corner';
ES5
console.log('Event name is' + firstname + lname);
ES6
console.log(`Event name is ${firstname} ${lname}`);This code snippet gives you some functions introduced in ES6.
