JS

JavaScript ES6 - Arrow functions syntax

30.

What is the syntax for declaring an arrow function in ES6?

function params() { // code here }

function(params) { // code here }

params => { // code here }

(params) => { // code here }