: 5
P.S.
let a = +prompt("The first number?", "");
let b = +prompt("The second number?", "");
alert( a + b );
prompt +
a b "1" + "2" = "12"
| [ Web Proxy ] |
| Viewing: https://zh.javascript.info/task/sum-interface | [Back] [Original] |
| Web Proxy Viewer | New URL | Original Page |