Front End Developer (AngularJS) Question:

Download Job Interview Questions and Answers PDF

Please explain functions in CoffeeScript?

Front End Developer (AngularJS) Interview Question
Front End Developer (AngularJS) Interview Question

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?