📜  字节到整数 js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:05.358000             🧑  作者: Mango

代码示例1
var reverseBits = function(n) {
    let x = parseInt(n, 2)
    console.log(x)
};

const data = reverseBits('00111001011110000010100101000000')