Advantages of JavaScript
Up to this point, you may not have seen any big reasons where and why JavaScript can help you. It is object based, can be interpreted within a browser, and there are security measures in place—but so is Java. Now that browsers support plug-ins and ActiveX controls, it is possible to design client-side functionality with more common languages like C++ or Visual Basic. So what does JavaScript really give you?
For starters, it is platform independent. This is a major advantage over ActiveX controls and plug-ins because they have to be recompiled and potentially rewritten for the various platforms out there today. Netscape Navigator, for example, runs on nearly 20 platforms and even though most of these are various flavors ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access