JS简单计算器 <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>计算器</title> </head> <body> <script> function alert(){ var s1=prompt("请输入数值1"