Javascript syntax naming

8/14/2019
· 1 min read

A tip comming from Kent C. Dodds, shared by R. Alex Anderson:

If you want to learn what a syntax in JavaScript is called, you can paste it in http://astexplorer.net and it will tell you, along with a bunch of other stuff!

As an example, https://astexplorer.net/#/gist/6a41a00e6208cb9f63fe457cb1c9f6f9/c1812c478fcf4fb480c95fa83c05b8d168d5a466 

This is a simple import/export and function call for a React hooks composition. You can see the ImportDeclaration, FunctionDeclaration, ArrayExpressions and CallExpression. Funtime!

See R. Alex Anderson 🚀's other Tweets

You can find this page with theses search keywords:

/ ast /
Mathieu TUDISCO
Thanks for reading!
I'm Mathieu TUDISCO, a lead developer at Linkvalue .
You can find me anywhere with @mathieutu.
As a start you can follow me on Twitter or want to find out more about me or the blog .