0
當提示「你有沒有發現......」運行,提示文本中包含的,而不是實際的文本「假」
var route = 2; var name = prompt("'What is your name soldier?'");
\t if(route === 2) {
\t \t if (prompt ("Well,. Did you find anything unusual out on your patrol? (Lie or truth?)".length === 3)) {
\t \t alert("'No sir, nothing unusual.' you say.")
\t }
\t else
\t \t alert("'Well, I did find a warehouse sir. It was emitting a strange sound, but I thought nothing of it.' you say")
\t }
是的,我發現不久後我發佈了這個問題......但是,無論如何感謝您的幫助! – Bestlogo56