Commit 8d2753c1 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

constants: fix wrapping of large constants

Use Number::New() instead of Integer::New(). The latter wraps large values,
e.g. 0x80000000 becomes -2147483648 instead of 2147483648.
parent 11a5119e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment