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

118
Views
Get only the value out of parsed JSON in JavaScript

Hello I am a newbie to JS and Node, I am making an application that should return the NodeJS version and V8 Version using process.versions(), but this will return a JSON formatted-output, but I only need the value of v8 and node, so how can I do this?

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

0

Use destructuring

const {node ,v8}=process.versions
console.log(node);
console.log(v8);

See repl

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!