Skip to content

Instantly share code, notes, and snippets.

@pnavarrc
Last active July 11, 2019 15:21
Show Gist options
  • Save pnavarrc/819d8e25fe018dac32577fe0e73ea966 to your computer and use it in GitHub Desktop.
Save pnavarrc/819d8e25fe018dac32577fe0e73ea966 to your computer and use it in GitHub Desktop.
writing-a-babel-plugin-1
// In
[1, 2, 3].map(n => n * n);
// Out
[1, 2, 3].map(function(n) { return n * n; });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment