Editing parsing hexadecimal with parseInt(x,16) vs "0x"+x | 0

This edit will create a new revision.

Your details

Test case details

Preparation code

Include JavaScript libraries as follows: <script src="//cdn.ext/library.js"></script>

Code snippets to compare

Test 1

Test 2

Test 3