How to remove [“ ”] from Object.values [duplicate]

55
December 20, 2018, at 11:50 AM

This question already has an answer here:

  • convert string array to integer array 3 answers
  • How to get value at a specific index of array In JavaScript? 4 answers
  • How do I convert a string into an integer in JavaScript? 21 answers

I have object.values like this ["123456"]. How can I convert that to this 123456. thank you

This is my code:

const obj = Object.values(form);
console.log(obj);
READ ALSO
Writing text to the canvas via a JavaScript function

Writing text to the canvas via a JavaScript function

I understand how to get text onto a canvas in JavaScript outside of a function, but putting the code in a function seems to break everything

70
Linking to Event from the Google Calendar API

Linking to Event from the Google Calendar API

I'm trying to create an external link from my web app to a google calendar eventFrom the Google::Apis::CalendarV3::Event that I receive with this API, I get https://www

26
Assigning false returns undefined

Assigning false returns undefined

the following code is outputting "undefined" but when x is true, it worksIf I assign string 'false' it is correct

39
Mortage Interest Rate Calculator Returning Ridiculous Values

Mortage Interest Rate Calculator Returning Ridiculous Values

The code is returning extremely low values for a mortgage payment

63