let Big = 11243566n;
console.log (' ${Big} ${typeof Big}.');
The console says:
${Big} ${typeof Big}.
How to make it to print
11243566 [BigInt]
or something similar?
let Big = 11243566n;
console.log (' ${Big} ${typeof Big}.');
The console says:
${Big} ${typeof Big}.
How to make it to print
11243566 [BigInt]
or something similar?
You have to use `
instead of single quotes:
let Big = 11243566n;
console.log (` ${Big} ${typeof Big}.`);