Pergunta de entrevista da empresa Artoon Solutions

Explain the role of REPL in Node.js.

Resposta da entrevista

Sigiloso

23 de ago. de 2019

As the name suggests, REPL (Read Eval Print Loop) performs the tasks of – Read, Evaluate, Print and Loop. The REPL in Node.js is used to execute ad-hoc Javascript statements. The REPL shell allows entry to javascript directly into a shell prompt and evaluates the results. For the purpose of testing, debugging, or experimenting, REPL is very critical.