Advertisement
Guest User

sowingsadness

a guest
Feb 16th, 2012
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Created by JetBrains WebStorm.
  3.  * User: search.msn.com
  4.  * Date: 16.02.12
  5.  * Time: 20:22
  6.  * To change this template use File | Settings | File Templates.
  7.  */
  8.  
  9. function GarbageObject() {
  10.     this.AgarbageField = 'zzzzz';
  11.     this.AundefinedField = undefined;
  12. }
  13.  
  14. function MyObject() {
  15.     this.AstringField    = true;
  16.     this['AnumberField'] = 2;
  17.     this.AobjectField    = {'anotherFIeld': 'yes'};
  18.     this.AfuncField      = function () {};
  19.     this.AcallbackField  = (function GarbageObject() {return 5;})();
  20. }
  21.  
  22. var testObject = new MyObject();
  23. //testObject.
  24.  
  25. (function (testedObj1) {
  26. //testedObj1.
  27. })(testObject);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement