Advertisement
Guest User

Untitled

a guest
Jan 31st, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. var n = function() {
  2. this.iCall = function(e) {
  3. e();
  4. }
  5.  
  6. this.x = function() {
  7. console.log("ok");
  8. }
  9.  
  10. this.y = function() {
  11. this.iCall(function() {
  12. this.x();
  13. });
  14. }
  15. }
  16.  
  17. var yy = new n();
  18.  
  19. yy.y();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement