function gizmo(id) {
return {
id: id,
toString: function () {
return "gizmo " + this.id;
}
};
}
From the slides for Douglas Crockford's Advanced Javascript video. Views: 18
Tags:
© 2025 Created by Ning Developer Admin.
Powered by
You need to be a member of Ning Developer Docs to add comments!
Join Ning Developer Docs