Front End Web Developer Question:

Tell us in CoffeeScript how clone-function is useful?

Front End Web Developer Interview Question
Front End Web Developer Interview Question

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


Previous QuestionNext Question
Tell me how To Increase Page Performance?What Is The Difference Between Html And Xhtml?