Ask coding questions

← Back to all posts
JavaScript
twizzton

I can't for some strange reason open a new JavaScript, it just turns into a nodejs? any reason as to why?

Voters
Shaghayegh_
zabimasomi
nourrobbena53
ChaimaeKhaiti
ARTILLIS18
RutujaShinde
IshanPatel8
twizzton
Comments
hotnewtop
JSer

Repl.it has cancelled the native browser JavaScript repl, since you can use browser JS in a HTML/CSS/JS repl. Now a JavaScript repl is simply a node.js repl.

Zakiroboy

I really want to do a
JavaScript repl!!!

twizzton

But prompt does'nt work in node.js

Vandesm14

@twizzton you can use readline and readline-sync from npm. Or just use an HTML repl.