20 lines
620 B
HTML
20 lines
620 B
HTML
<script>
|
|
|
|
const jojo = {
|
|
XD : function(){}
|
|
};
|
|
const jaja = [];
|
|
|
|
// const XD = function(){};
|
|
const xd = new jojo.XD();
|
|
|
|
console.log(xd.constructor.name);
|
|
console.log(jojo.constructor.name);
|
|
console.log(jaja.constructor.name);
|
|
console.log(Number(230.0006).toString(2));
|
|
console.log(parseFloat("11100110.000000000010011101010010010101000110000010101", 2));
|
|
console.log(parseInt("11100110.000000000010011101010010010101000110000010101", 2));
|
|
console.log(parseInt("11100110", 2));
|
|
// console.log(0b11100110.000000000010011101010010010101000110000010101);
|
|
|
|
</script> |