Skip to content

Timers are not standard#4384

Description

@WebReflection

tns --version 3.0.3 tested on android emulator platform version 25 and device with API 7.x

Timers are a very well spec'd primitive, universally compatible with every platform but IE < 10 ... please don't be IE < 10 馃槃

setTimeout(console.log, 2000, 'hello', 'world');

The expected output is the equivalent of executing console.log('hello', 'world') after 2 seconds.

Instead, NativeScript runtime does not pass arguments along.

I have no idea how much code out there give this for granted, since it works literally everywhere like this, but it broke anyway already few scripts of mine.

Please consider fixing this or report this upstream if it's a nashorn issue (I'm really new to TS I'v eno idea what's exactly behind as JS core but so far it looks most of it just works out of the box, kudos that!)

Thank you and Best Regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions