Front End Developer (AngularJS) Question:

Please explain functions in CoffeeScript?

Tweet Share WhatsApp

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) PDF Read All 62 Front End Developer (AngularJS) Questions
Previous QuestionNext Question
Explain how can you declare a class in Javascript?Explain what are the benefits of Coffee Script over JavaScript?