Change you code to e.g.: var c = confirm(...); if (c) { ... Your local variable is hiding (shadowing) the function because it has the same name.
確定! 回上一頁