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

396
Views
How to get the values from object Proxy and Pass to local Variable?

I need get a list of devices (video and Input/output audio) using a navigator.mediaDevices.enumerateDevices(). First, i create one function that returns the result to another page however using a console.log(result) i get one proxy object. How to get this result and Pass to local Variable?

enter image description here

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

0

proxies are either created by vue or asynchronous job, in your problem you don't need to do anything your array is accessible like a normal array you can assign result value to any variable you want and it works just fine.

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!