Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
custom:javascript:lib:index [2018/12/27 18:57] – Some JS library overview/usage digital man | custom:javascript:lib:index [2018/12/27 19:09] – [Object] Maybe this style should be called Class-style, though a JS Class is actually a (different) thing now digital man | ||
---|---|---|---|
Line 21: | Line 21: | ||
==== Object ==== | ==== Object ==== | ||
- | // | + | // |
Example Object-style library usage: | Example Object-style library usage: | ||
load(' | load(' | ||
+ | var obj = new SomeObject(); | ||
==== Return ==== | ==== Return ==== |