Two features of JS make it really special –

1. The ability to extend “built-in” classes like String. You can add a reverse() method to the String class !
Cant imagine doing this in C++ or Java.

2. The ability to define new object properties at run-time. Like objects can take on different forms at runtime depending on context. This makes it extremely flexible.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: