<!--your preparation HTML code goes here-->
a = '111111';
a2 = '101010';
b = 63;
b2 = 42;
c = parseInt(a, 2);
c2 = parseInt(a2, 2);
x = b * b2;
c = b;
c2 = b2;
x = b * b2;
--enable-precise-memory-info
flag.
Test case name | Result |
---|---|
parseInt with binary numbers | |
native numbers |
This benchmark does not have any results yet. Be the first one to run it!