René Nyffenegger's collection of things on the web | |
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
|
new [JavaScript snippet] | ||
function MyObject(prop_one, prop_two) { this.property_one = prop_one this.property_two = prop_two } function main() { var obj = new MyObject('one', 2) txt_out(obj.property_one) txt_out(obj.property_two) }
See also other Javascript snippets
|