Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output looks wrong to me. #6

Open
prographo opened this issue Jun 16, 2019 · 1 comment
Open

Output looks wrong to me. #6

prographo opened this issue Jun 16, 2019 · 1 comment

Comments

@prographo
Copy link

Negative numbers?

> var randomNumber = require("random-number-csprng");
undefined
> randomNumber(0, 4294967295).then( r => { console.log(r) } )
Promise [Object] {
  _bitField: 0,
  _fulfillmentHandler0: undefined,
  _rejectionHandler0: undefined,
  _promise0: undefined,
  _receiver0: undefined }
> -1800540632
> randomNumber(0, 4294967295).then( r => { console.log(r) } )
Promise [Object] {
  _bitField: 0,
  _fulfillmentHandler0: undefined,
  _rejectionHandler0: undefined,
  _promise0: undefined,
  _receiver0: undefined }
> -269205720
@mlc
Copy link

mlc commented Jul 15, 2019

this looks to me like it might be a duplicate of #4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants