Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

211
Views
A chain of conversions JS code isn't working

I'm learning JS and the task that comes with solution says we can create a chain like this:

let b = Boolean( BigInt(Number("1234")));
console.log('${b} [${typeof b}]');

// or

let s = "1234";
let n = Number(s);
let bi = BigInt(n);
let b = Boolean(bi);
console.log('${b} [${typeof b}]');

Output should come with a "True Boolean" but both learning platform and Chrome console says:

${b} [${typeof b}]

Am i wrong about this code? I don't know also what is the point of [] surroundings in second interpolation on both notations. Thank you for you reading this.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!