SOURCE
JavaScript
Result
var sum=0 var i=1 while(i<=100){ sum+=i; i++; } console.log("1+2+3+···+100="+sum)
console 命令行工具
X
clear
>
console