JS
As every web app, ours rely on a bunch of JS lines of code
ES6 Useful Features
Default parameters
var calculateArea = function(height = 50, width = 80) {
// write logic
...
}Template Literals
var name = `Your name is ${firstName} ${lastName}.`Multi-line Strings in ES6
let lorem = `Lorem ipsum dolor sit amet,
consectetur adipiscing elit.
Nulla pellentesque feugiat nisl at lacinia.`Arrow Functions
Last updated
Was this helpful?
