Front End Developer (AngularJS) Question:
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
For example, log = (message) à console.log message
Previous Question | Next Question |
Explain how can you declare a class in Javascript? | Explain what are the benefits of Coffee Script over JavaScript? |