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

85
Views
Asignación de objeto a la lista de métodos

¿Alguien puede explicarme qué logra esta sintaxis de Javascript? Intenté buscarlo en Google, pero no sé cómo formular mi consulta. Cualquier ayuda sería apreciada.

 const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

const { bar } = foo; // where foo = { bar:10, baz:12 }; /* This creates a constant with the name 'bar', which has a value of 10 */ ({ a, b } = { a: 10, b: 20 }); console.log(a); // 10 console.log(b); // 20

Referencia:

Asignación de desestructuración

about 4 years ago · Santiago Gelvez 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!