You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can parse the binary string with the int constructor. The second parameter specifies the base. Then we reconvert the result to binary, and remove the prefix "0b".