Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var obj = new namespace.MyObjectName("key", [12, 11, 22, 33, 454, 552, 222], [33, 22, 33, 11, 22, 222, 111]);
- namespace.MyObjectName = function(keyName, data1, data2) {
- this.myData1 = data1;
- this.myData2 = data2;
- this.holder = [
- [keyName, [myData1, myData2]]
- ];
- };
- namespace.MyObjectName.prototype.DoSomething = function(arg1, argArray) {
- this.globalVar = [
- "Display " + arg1 + " into string using " + argArray[0] + "<br> for visual purposes",
- "Display " + arg1 + " into string using " + argArray[2] + "<br> for visual purposes"
- ];
- };
- var namespace = namespace || function() {}
Add Comment
Please, Sign In to add comment