var Imported

I've been seeing this pretty much everywhere.

What is the purpose of:
Code:
var Imported = Imported || {};
nothing
it's a convention between developers to easily manage plugins.
It only a simple global variable, you can add what you want in.
Basically it can be used to check which other plugins have already been loaded, to see if requirements of the current plugin are met.
What the hell I still don't get it.

Code:
var Imported = Imported || {};
Imported.InsertSomethingHere = true;

What is the meaning of this.

EDIT: You know what, I just googled the explanation quickly. Should've done this sooner. Always thought it's just RPGMaker thing.

Close this thread.

Original thread: https://forums.rpgmakerweb.com/threads/var-imported.98925/