mirror of https://github.com/lukechilds/node.git
Browse Source
Don't use the double-negate trick to coalesce the timeout argument into a number, it produces the wrong result for very large timeouts. Example: setTimeout(cb, 1e10); // doesn't work, ~~1e10 == 1410065408v0.8.7-release
Ben Noordhuis
13 years ago
2 changed files with 8 additions and 5 deletions
Loading…
Reference in new issue