Skip to content

Instantly share code, notes, and snippets.

@Xiphe
Last active March 26, 2019 12:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Xiphe/2f9a521423b92522932ee0f7c46eb393 to your computer and use it in GitHub Desktop.
Save Xiphe/2f9a521423b92522932ee0f7c46eb393 to your computer and use it in GitHub Desktop.
WTF moments when introducing someone to JS
  1. (about babel/typescript) so you compile JavaScript to other JavaScript so that can be sent to the browser which compiles it again to machine code?
  2. you can export default function foo() {} in foo.js and then import bar from './foo.js'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment