Skip to content

Instantly share code, notes, and snippets.

@agoiabel
Created April 14, 2018 18:20
Show Gist options
  • Select an option

  • Save agoiabel/37d57436d6bc59e873cdebdbfcdf042d to your computer and use it in GitHub Desktop.

Select an option

Save agoiabel/37d57436d6bc59e873cdebdbfcdf042d to your computer and use it in GitHub Desktop.
const sum = (param1, param2) => {
return param1 + param2
}
/**
*We can easily just remove the {}
*and rewrite as
*/
const sum = (param1, param2) => param1 + param2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment