我想知道如何在提示框中回答它时提醒用户名,我试过了
var check=propmt("Enter your name","Name") if (check==='') { alert("Welcome", + check) }
javascript
javascript ×1