Does the prompt command no longer work for javascript i keep getting told the prompt command itself is not defined

Bug description:

Expected vs Current Behavior:

Steps to reproduce:

Bug appears at this link: https://replit.com/~

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.47

Replit Profile: https://replit.com/@brandonlarry84

Hi @brandonlarry84 , welcome to the forums!
Prompt was removed from the default template, so you will need to use the prompt-sync library.

const prompt=require('prompt-sync')()
prompt('Enter your name:')

Hope this helps!

4 Likes