The asset list of a declared bundle, or undefined when there is none: the way to test whether an id is declared, since the other bundle calls throw on an unknown one.
undefined
the bundle id
a copy of its asset descriptors, or undefined when no bundle is declared under that id
if (loader.getBundle("level3") === undefined) { loader.setBundle("level3", level3Assets);} Copy
if (loader.getBundle("level3") === undefined) { loader.setBundle("level3", level3Assets);}
The asset list of a declared bundle, or
undefinedwhen there is none: the way to test whether an id is declared, since the other bundle calls throw on an unknown one.