New version of DAZ Script?

DAZ Script now seems to follow the ES 5 standard - or has it always followed it?  The following example

seems to work:

var x = {a:11, b:22, c:33};

Object.keys(x).forEach( function(key, idx){

print(key, x[key], idx);

} )

Comments

  • OmnifluxOmniflux Posts: 362

    Daz Script 1 (DAZ Studio 3) is based on QSA which is a subset of ECMA-262 3rd edition (ECMAScript 4.0)

    Daz Script 2 (DAZ Studio 4) is an extension of Qt Script which is an extension of ECMA-262 5.1st edition

     

    DAZ 3D has stated that there will be changes to the scripting environment in DAZ Studio 5 - Daz Studio 5 development update

    While I have not seen it stated, they are probably switching to QJSEngine which means ECMAScript 2016 or newer.

Sign In or Register to comment.