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

217
Views
Where do built-in methods come from?

I've been studying about JS objects and I faced the description of methods. It says that a method is "a shorthand for a function assigned to the method's name". In other words, a method is a function, right? But the thing is, where do the methods like parseInt() and toLocaleString() come from if I haven't created a function to turn a float-point number into a integer? I googled about built-in functions, but I haven't found any documentation answering this question.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

They are built into the js engine, i.e. it does provide the implementation and creates the function (method) in the environment before running any JS code.

about 4 years ago · Juan Pablo Isaza Report
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!