-
Notifications
You must be signed in to change notification settings - Fork 34
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
has a bug #7
Comments
I can't follow your code and it contains syntax errors. Here's a cleaned up version of it:
Can you please verify the correctness of my version and that it still produces the wrong result for you? Because this code works as expected for me in Firefox 64 on Windows 10. If the error remains for you, please specify what environment you used. |
chrome 72.0.3626.119(64 bit) for Mac |
log: |
Sorry, I can't reproduce this. The closest environment I have is Chrome 72.0.3626.109 (64 bit) on Windows 10. For me, the log prints the expected "1000.01", as it does in Firefox. So I'd suggest you report the bug in Chrome for Mac. |
let obj = serializeMsgPack([100, 100, "ok", serializeMsgPack([[100, 1000.01]])]
let obj2 = deserializeMsgPack(obj)
console.log(deserializeMsgPack(obj2[3])[0][1]);// print:5.262076770253218e+228
The text was updated successfully, but these errors were encountered: