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

269
Views
Pregunta de JavaScript: llamar a toString () en tipos primitivos

Una pregunta rápida de alguien que está aprendiendo JavaScript. Hasta ahora, soy consciente de que los tipos primitivos solo tienen su valor, entonces, ¿por qué puedo almacenar un número (un tipo primitivo) y luego llamar al método toString como si fuera un objeto? p.ej

 let num = 4; let strNum = num.toString(); /* how is this possible? isn't num just a single piece of data in memory, how can it access this toString method? */
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!