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

196
Views
¿Es posible convertir este JS a CoffeeScript?

¿Es posible convertir el siguiente código a CoffeeScript?

 async function print(readable) { readable.setEncoding('utf8'); let data = ''; for await (const chunk of readable) { data += chunk; } console.log(data); }

Logré que algo funcionara, pero necesitaba escapar a JavaScript:

 print = (readable) -> await readable # Force this function to be async with `await`. readable.setEncoding 'utf8' data = '' ``` // Is it possible to convert this part to CoffeeScript, too? for await (const chunk of readable) { data += chunk; } ``` console.log data

Entonces, ¿existe una solución CoffeeScript pura?

about 4 years ago · Juan Pablo Isaza
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!