Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var n = function() {
- this.iCall = function(e) {
- e();
- }
- this.x = function() {
- console.log("ok");
- }
- this.y = function() {
- this.iCall(function() {
- this.x();
- });
- }
- }
- var yy = new n();
- yy.y();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement