Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Test(){
- var p = 'hello';
- this.printy = function(){
- print('pything says ' + p);
- }
- }
- Test.prototype.shit = function(){
- print('shit called: ' + this.p);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement