Forum Discussion

maximojo's avatar
maximojo
Frequent Contributor
9 years ago

JScript 5.8 - new features?

Hi all,

 

Just looking around at JScript 5.8 I see there's the JSON object which will help with parsing, etc. 

Are there any other obvious new cool, useful features comared to the previous version of JScript supported by TC?

 

Any more OOP features?


Thanks for any insights

m

10 Replies

  • JScript 5.8 is equivalent to ECMAScript 3.  Be careful pulling things from StackOverflow, as most javascript developers are writing against ECMAScript 5.  You can do a little inheritance, but it's kind of clunky.

  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)

    I wish I had a more satisfying answer, but it's just JSON for now. We still use the JScript engine from Windows Script Host.

     

    Edit: Another JScript 5.8 feature that slipped from our release notes is support for the index operator [] on strings: "abc"[2].

    • maximojo's avatar
      maximojo
      Frequent Contributor

      Thanks.

       

      I know there have been other threads about updating JScript and I thought there would be support for more OOP constructs like classes, etc. But perhaps not. No worries!