On Feb 23, 2016 19:34, "Alex Harui" <aha...@adobe.com> wrote:
> OK, so I'll get the compiler to map Date's properties to getX/setX calls. > > For Array.sort, I guess we should map it to some other function in some > other class. Should we generalize such a mapping or is that the only one? > > -Alex > > These constants don't exist in JS: Array.CASEINSENSITIVE = 1 Array.DESCENDING = 2 Array.NUMERIC = 16 Array.RETURNINDEXEDARRAY = 8 Array.UNIQUESORT = 4 int.MAX_VALUE = 2147483648 int.MIN_VALUE = -2147483648 uint.MAX_VALUE = 4294967295 uint.MIN_VALUE = 0 Array.prototype.removeAt(index) should be mapped to Array.prototype.splice(index, 1) Array.prototype.insertAt(index, element) should be mapped to Array.prototype.splice(index, 0, element) I did not notice any others in Date/Number/String. Andy