zenon905 Posted February 3, 2008 Share Posted February 3, 2008 What makes it unique that other types of codes can't do? Link to comment Share on other sites More sharing options...
Synook Posted February 3, 2008 Share Posted February 3, 2008 Well, it is processed client-side asynchonously of page loadings and can directly communicate with the HTML and XML DOMs (unlike e.g. PHP), it is able to be parsed by most modern browsers (unlike e.g. VBscript), and can be written inline in HTML documents. Link to comment Share on other sites More sharing options...
justsomeguy Posted February 4, 2008 Share Posted February 4, 2008 There's no other client-side scripting language that works on all browsers. If you need to do cross-platform client-side scripting, then you use Javascript. Link to comment Share on other sites More sharing options...
jeffman Posted February 4, 2008 Share Posted February 4, 2008 To anyone comfortable with C, Javascript should be very familiar. The syntax is virtually identical. Variable typing is drastically simplified. There are no pointers. And no need to allocate memory. The major addition is limited object support that follows C struct notation.So JS isn't as unique as it might seem. The tweaks exist so it can function better in its context. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.