Created
December 12, 2021 07:33
-
-
Save amrelarabi/a3cbb5b358e71b81088e95136a0b9c32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Person(){ | |
this.age = 0; | |
setInterval(() => { | |
this.age++; // this فى هذه الحالة تعود على person | |
}, 1000); | |
} | |
var p = new Person(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment