JavaScript is a strong object-oriented language that supports adding properties and methods after creating an instance. Although it is a small trick, it is easy to forget when using it. I wrote a small example today and recorded it here for reference only. .
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|