Home → ES6 Quiz
8 questions about the features introduced in JavaScript starting with ES6: let/const, arrow functions, destructuring, and more.
var
function
let
const
if/else
function(a, b) { return a + b }
(a, b) => a + b
a, b => { a + b }
func (a, b) => a + b
const { name, age } = user;
...arr
import/export
function greet(name = "Guest") {}
greet()
class
You might also like