What is the main difference between require() and define() function in dojo and when would we use either?

Viewed 13918

I am new to learning dojo and I have come across the require() and define() functions and I can not get my head around either of them. Also, when would I use either of them? A small demo or example would be beneficial. Many Thanks!

1 Answers
Related