Front End Developer (AngularJS) Question:
Download Questions PDF

Please explain functions in CoffeeScript?

Answer:

Functions in CoffeeScript is an (Optional) list of parameters followed by an arrow and then the function body.

For example, log = (message) à console.log message

Download Front End Developer (AngularJS) Interview Questions And Answers PDF

Previous QuestionNext Question
Explain how can you declare a class in Javascript?Explain what are the benefits of Coffee Script over JavaScript?