6 ms·
Pretty simple, but a couple flaws: #1 - delete should only be used on properties. #2 - The example for inheritance is not quite right as the constructor member
by TNO 16y ago
Pretty simple, but a couple flaws:
#1 - delete should only be used on properties.
#2 - The example for inheritance is not quite right as the constructor member and the instanceof relationship no longer works as it should.