Monday, 9 September 2013

Using require() vs. define()

 both require() and define() to load dependencies. Understanding the difference between those two functions is essential to managing dependencies. The require() function is used to run immediate functionalities, while define() is used to define modules for use in multiple locations.

No comments:

Post a Comment