romach
7/9/2017 - 4:41 PM

Function declaration

Function declaration

const first = (value) => {
  return value;
};

// for one-liners
const second = value => value;

// old style (this)
const third = function(value) {
  return value;
};