/tags/jsdoc_toolkit-1.4.0/test/data/anonfuncs.js
http://jsdoc-toolkit.googlecode.com/ · JavaScript · 17 lines · 9 code · 3 blank · 5 comment · 0 complexity · a2bb963a2394d2dda507ccab459bb320 MD5 · raw file
- // looks like a function
- var Item = function(pid) {
- /** The item name */
- this.name = function(n) {
- }(pid);
- };
- /** The price */
- Item.Price = function(n) {
- }(1.99);
- /** The product */
- Product = new function(pid) {
- /** The seller */
- this.seller = "Acme";
- }