1.

What Is The Use Of Clone-function In Coffeescript?

Answer»

Clone-function is used to create a complete NEW object in COFFEESCRIPT by FOLLOW these steps:

  • 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.

Clone-function is used to create a complete new object in CoffeeScript by follow these steps:



Discussion

No Comment Found