How to work with V8 interpreter for JavaScirpt?

  • 0
    I want to try to solve problems on CodeForces using JavaScript. There is V8 interpreter version 4.8.0.
    Tell me how to format the code for this interpreter correctly.
    What is the extension of the files, with the help of which operators the data is received and displayed, and some other important aspects that you need to know?
    I could not find normal documentation, I hope for your help.

    I've heard that input is taken with readline and output with print. Print works in a similar way to return or console.log (), but I don't really understand it with readline.
    JavaScript Anonymous, Apr 23, 2020

  • 1 Answers
  • 0
    Check out and

    readline () seems to just read a line from stdin. The next call reads the next line.

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!