Skip to content

RangeError: Maximum call stack size exceeded #39

@mduan

Description

@mduan

Hi,

So the following example from the readme works fine for me:

var i = 0; while (true) { await { setTimeout (defer(), 1); i++; } }

However, I get RangeError: Maximum call stack size exceeded when I change while (true) to while (i < 20000) as in the following example:

var i = 0; while (i < 20000) { await { setTimeout (defer(), 1); i++; } }

I just started playing with tamejs, so I'm not sure why the behaviour's different for the two examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions