I’ve seen a slide that presented Fab, a node.js framework.

Is this JavaScript?
Could someone explain what is going on in that code?
I’m all lost.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Is plain JavaScript, it is a function chaining pattern.
The first line,
( fab = require("fab") )includes thefabfunction and returns a reference to it.All the subsequent parentheses are function calls, each function invocation returns probably the same function again and again.
The pattern probably looks like this simplified example:
Outputs: