What is 'define' used for in JavaScript (aside from the obvious)? What is 'define' used for in JavaScript (aside from the obvious)? javascript javascript