0 votes
1 view
in Java by (9.2k points)

Below is the code I’ve in JavaScript: 

define(['param1', 'param2'], function() {


Can anyone tell me how the ‘define’ function works? 

1 Answer

0 votes
by (19k points)

define() function is a part of AMD spec of JavaScript. You can read about it here.

Interested in Java? Check out this Java Certification by Intellipaat.

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers !