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

184
Views
Javascript is object oriented?

Javascript is object oriented?

over 4 years ago · Jose Jesus Peralta.Bonadiez
1 answers
Answer question

0

In short, yes it is. but its way of doing it is a bit different from most class-based object-oriented languages, because JavaScript is not a class-based language, it's a prototype-based language. JavaScript takes the concept of a prototypical object , an object that is used as a template from which the initial set of properties of a new object is obtained."

Example:

 function Perro(nombre, edad) { let perro = Object.create(ObjetoConstructor); perro.nombre = nombre; perro.edad = edad; return perro; } let ObjetoConstructor = { habla: function(){ return "¡Soy un perro!" } } let firulais = Perro("Firulais", 9); console.log(firulais);

Output:

 {edad: 9, nombre: "firulais", <prototype>: {habla: function habla()}}

If you want to know more about the subject here I leave you a blog that talks specifically about the subject: https://www.freecodecamp.org/espanol/news/programacion-orientada-a-objectos-en-javascript-explained-with-examples /

over 4 years ago · Santiago Trujillo 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!