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

180
Views
is there any error solving for javascript object to converting it into string

enter image description hereI am learning javascript where I get this error when I convert a object of js into a string it says semicolon required

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

0

You might want to check a tutorial for the basic syntax.

There you are settings everything between ' that can only be used for one line strings. That is probably not what you are trying to do.

If you really want a multiline string, you can use the backticks. Or you can have a normal object and use JSON.stringify to turn it into a string.

about 4 years ago · Juan Pablo Isaza Report

0

When using single or double quotes, you can only do strings on one line, 2 possible solutions is using JSON.Stringify or backticks. Using backticks allows multiline strings and JSON.Stringify will convert everything to a string too!

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!