What is the difference between JavaScript and jscript?

What is the difference between JavaScript and jscript?

JavaScript and jscript are two completely different components even though they may sound similar. However they are often confused due to the way jScript came around.  Sun Microsystems developed JavaScript in 1995. However, as it was proprietary language, it could not be used by its competitors such as Microsoft. So, Microsoft reverse engineered its own language from JavaScript. In order to avoid issues with the trade name, Microsoft called jscript. It was developed primarily to run in Internet Explorer.

JavaScript

jScript

Is a language

Is a library

Developed by Sun Microsystems

Developed by Microsoft

Is an ECMAScript language specification

Is an ECMAScript language specification

Is an independently developed language

Reverse engineered from JavaScript by Microsoft

Used for developing client applications and server applications

Used for creating active and also online content for the world wide web.

Does not support conditional compilation

Supports conditional compilation, which allows a programmer to selectively execute code within block comments.

Few versions of JavaScript have access to ActiveX objects

All versions of JScript have access to ActiveX objects

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.