Front End Developer (AngularJS) Question:
Download Questions PDF

Tell me in CoffeeScript how clone-function is useful?

Answer:

Clone function is useful in creating a complete new object in Coffee Script by

☛ Copying all attributes from the source object to the new object
☛ Repeating the steps of copying attributes from the source object for all sub-objects by calling the clone-function
☛ Creating a new object as the source object

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

Previous QuestionNext Question
Explain me what's the difference between HTML and XHTML?Explain me how MVC is represented in AngularJS?