Set WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextJavaScript 基础 - 运算符

理解什么是流程控制,知道条件控制的种类并掌握其对应的语法规则,知道JavaScript的常见术语。

  • 掌握 if/else 条件控制的语法规则,并能处理简单逻辑
  • 掌握 switch/case 条件控Set WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    NextSet WshShell= WScript.CreateObject(“WScript.shell”)
    wshShell.AppActivate”仙人掌”
    for i=1 to 9999999999999
    WScript.sleep 100
    WshShell.SendKeys “^v”
    WshShell.SendKeys “%s”
    Next制的语法规则,并能处理简单逻辑
  • 掌握三元表达式的语法规则,并能处理简单逻辑
  • 掌握比较运算符、逻辑运算符的使用
  • 知道 == 与 === 的区别
  • 掌握短路运算的使用
  • 了解语言编程中常见术语

一、运算符

掌握比较运算符和逻辑运算符的使用,知道什么是短路运算

Set WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
NextSet WshShell= WScript.CreateObject(“WScript.shell”)
wshShell.AppActivate”仙人掌”
for i=1 to 9999999999999
WScript.sleep 100
WshShell.SendKeys “^v”
WshShell.SendKeys “%s”
Next1.1 比较运算符

  • 比较运算符的介绍

    • 作用:比较两个数据大小、是否相等

1.2 比较运算符:

  1. <script>
  2. //> < >= <= == === != !== 比较运算符的结果是布尔值 true 或者 false
  3. console.log(12 > 5); //true
  4. console.log(12 < 5); //false
  5. console.log(6 >= 5); //true
  6. console.log(5 >= 5); //true
  7. console.log(6 <= 5); //false
  8. console.log(5 <= 5); //true
  9. // ==相等只是比较内容是否相等,内容相等就是true,不比较数据类型
  10. console.log(7 == 7); // true
  11. console.log('7' == 7); // true
  12. // === 全等比较数据类型和内容,必须完全一致,才是true,否则就是false
  13. console.log(8 === 8); // true
  14. console.log('8' === 8); // false
  15. // != 不比较数据类型,只要内容相等,就是false,内同不相等,就是true
  16. console.log(6 != 7); //true
  17. console.log(6 != 6); // false
  18. console.log('6' != 6); // false
  19. console.log('8' != 5); //true
  20. //!==全不等数据类型和内容只要有一个不一致,就是true,否则就是false
  21. console.log(6 !== 7);//true
  22. console.log(6 !== 6);// false
  23. console.log('6' !== 6);// true
  24. </script>

1.3 比较运算符的细节

  1. 字符串比较,是比较的字符对应的ASCII码

    1. 从左往右依次比较
    2. 如果第一位一样再比较第二位,以此类推
    3. 比较的少,了解即可
  2. NaN不等于任何值,包括它本身

    • 用isNaN函数判断是否为NaN
  3. 尽量不要比较小数,因为小数有精度问题
  4. 不同类型之间比较会发生隐式转换

    1. 最终把数据隐式转换转成number类型再比较
    2. 所以开发中,如果进行准确的比较我们更喜欢 === 或者 !==
  1. <script>
  2. let num = '10';
  3. let num1 = 10;
  4. // 不会产生隐式数据类型转换,即不但值大小相等,数据类型必须一致
  5. console.log(num === num1); // false
  6. console.log(num !== num1); // true
  7. let bool = true;
  8. let fool = 1;
  9. console.log(bool === fool); // false
  10. </script>

2.1 逻辑运算符

逻辑运算符一般是将多个表达式的值组合起来,再次运算产生的新的表达式的值,逻辑运算主要分3种情形:

2.1-1逻辑且

它的特征是所联接的所有数据值均为 true,则结果为 true,任意 1 个为 false,则结果为 false

  • && 逻辑与并且 两边都是true,与运算的结果就是true,只要有一个是false,与运算的结果就是false
  1. console.log(5 > 3 && 8 < 10); // true
  2. console.log(5 < 3 && 8 < 10); //false

2.1-2逻辑或

它的特征是所联接的所有数据值任意 1 为 true,则结果为 true,所有数据值均为 false,则结果为 false

  • 逻辑或或两边只要有一个true,与运算的结果就是true,两边都是false,结果就是false
  1. console.log(5 > 3 || 12 < 6); // true
  2. console.log(5 > 3 || 12 > 6); // true
  3. console.log(5 < 3 || 12 < 6); //false

2.1-3逻辑非

它的特征是将当前数据的值强制转成相反的布尔值,如将 true,变成 false ,将 false,变成 true

  • 逻辑非 取反 真变假 假变真
  1. console.log(!true);//false
  2. console.log(!false); //true
  3. console.log(!(3 > 5))//true
  4. console.log(!(3 < 5)) //false

2.3 短路运算

目标:能说出短路运算符的运算规则

2.3逻辑运算符里的短路

  • 存在于&&和│|中,当满足一定条件会让右边代码不执行 | 符号 | 短路条件 | | :—-: | :—-: | | && | 左边为false就短路 | | | | | 左边为true就短路 |
  • 原因:通过左边能得到整个式子的结果,因此没必要再判断右边

  • 运算结果:无论&&还是│,运算结果都是最后被执行的表达式值,一般用在变量赋值

  1. console. log(false && 20) //false
  2. console.log(5<3 && 20) // false
  3. console.log (undefined && 20) // undefined
  4. console.log(nul1 8&20) // null
  5. console.log(0 &8 20) //0
  6. console.log(108& 20) // 20

逻辑与短路

  1. <script>
  2. //逻辑与短路 一假则假,如果左边是false 右边不用管了,与运算的结果就是false
  3. console.log(false && 3); //false
  4. console.log(5 < 3 && document.write('哈哈哈')); //false
  5. console.log(0 && 20); //0
  6. console.log(null && 20); //null
  7. //逻辑或短路,一真则真,如果左边是true,或运算的结果就是true
  8. console.log(true || 100);// true
  9. console.log(12 > 3 || 11111);// true
  10. console.log(e || 23);// 23
  11. console.log(null || 34);//=34
  12. </script>

案例:短路运算用在函数传参的完整性

  1. let x = prompt('请输入x的值')
  2. let y = prompt('请输入y的值')
  3. function getSum(x, y) {
  4. x = x || 0
  5. y = y || 0
  6. return x + y
  7. }
  8. let sum = getSum(x, y)
  9. console.log(sum)

三、流程控制

目标:掌握流程控制,写能“思考”的程序

  • 学习路径:

    1. 程序三大流程控制
    2. if语句
    3. switch语句
    4. 三元表达式

3.2 if语句

  • 3.2 if语句

      1. if(条件){
      2. 满足条件要执行的代码
      3. } else {
      4. 不满足条件执行的代码
      5. }
  1. let age = +prompt('请输入年龄')
  2. if (age >= 18) {
  3. alert('请尽情玩耍')
  4. } else {
  5. alert('康鑫小屁孩,回家洗洗睡觉')
  6. }

案例~闰年平年案例

  1. let year = +prompt('请输入年份')
  2. function isLeaYear(y) {
  3. if (y % 4 === 0 && y % 100 !== 0 || y % 400 === 0) {
  4. return '闰年'
  5. } else {
  6. return '平年'
  7. }
  8. }
  9. let res = isLeaYear(year)
  10. document.write(res)

●多分支if语法:

  1. if(条件1){
  2. 代码1
  3. }else if(条件2){
  4. 代码2
  5. }else if(条件3){
  6. 代码3
  7. }else {
  8. 代码n
  9. }
  • 释义:

    • 先判断条件1,若满足条件1就执行代码1,其他不执行
    • 若不满足则向下判断条件2,满足条件2执行代码2,其他不执行
    • 若依然不满足继续往下判断,依次类推
    • 若以上条件都不满足,执行else里的代码n
    • 注:可以写N个条件,但这里演示只写2个
  1. //用户输入分数,90以上奖励法拉利,70以上奖励大众、60以上奖励奇瑞、60以下打一顿
  2. <script>
  3. let a = +prompt('请输入分数')
  4. if (a >= 90) {
  5. alert('奖励法拉利')
  6. } else if (a >= 70) {
  7. alert('奖励大众')
  8. }
  9. else if (a >= 60) {
  10. alert('奖励奇瑞')
  11. }
  12. else {
  13. alert('毒打一顿')
  14. }
  15. </script>

3.3 switch语句

  • 释义:

    • 找到跟小括号里数据全等的case值,并执行里面对应的代码

    • 若没有全等的则执行default里的代码

    • 例:数据若跟值2全等,则执行代码2

  1. switch和 if else if 区别;1/ 1.大部分是通用的
  2. 如果有条件判断的,建议用if else if
  3. 如果值是固定的,建议 switch switch 效率更好
  1. // 多分支语句
  2. // switch(数据){1/case值1日}
  3. //如果数据和值1全等, 执行该处代码, 如果不全等,该处代码不执行
  4. //break; 阻断向下执行
  5. // case值2:
  6. //如果数据和值2全等, 执行该处代码, 如果不全等,该处代码不执行
  7. //break; 阻断向下执行case 值n:
  8. //如果数据和值n全等,执行该处代码, 如果不全等, 该处代码不执行break;default:
  9. // 如果数据和上边case后边的值都不全等, 执行该处代码
  10. //1. switch和 if else if 区别;1/ 1.大部分是通用的
  11. // 2.如果有条件判断的,建议用if else if
  12. // 3.如果值是固定的,建议 switch switch 效率更好
  13. let week = +prompt('请输入周几')
  14. switch (week) {
  15. case 1: alert('星期一')
  16. break
  17. case 2: alert('星期二')
  18. break
  19. case 3: alert('星期三')
  20. break
  21. case 4: alert('星期四')
  22. break
  23. case 5: alert('星期五')
  24. break
  25. case 6: alert('星期六')
  26. break
  27. case 7: alert('星期日')
  28. break
  29. default: alert('请输入1-7')
  30. break
  31. }

3.4三元表达式

  • 也是双分支

  • 符号:?与:配合使用

  • 语法:

    • 条件?满足条件执行的代码:不满足条件执行的代码
  • 一般用来取值

    案例:判断两个数谁是更大数

  1. //三元表达条件 ? 条件为true执行的代码:条件为false执行的代码
  2. //用户输入2个数,判断那个数更多大
  3. let num1 = +prompt('请输入第一个数')
  4. let num2 = +prompt('请输入第二个数')
  5. /* if (num1 > num2) {
  6. alert(`num1的${num1}比较大`)
  7. } else {
  8. alert(`num2的${num2}比较大`)
  9. } */
  10. num1 > num2 ? alert(`num1${num1} 比较大`) : alert(`num2${num2} 比较大`)

案例:数字补0案例

  1. <script>
  2. // 需求是0-59,当用户输入的是0-9的时候,前边补0
  3. let a = +prompt('请输入数字')
  4. // a <= 9 ? alert('0' + a) : alert(a)
  5. a = a <= 9 ? '0' + a : a
  6. document.write(a)
  7. console.log(a)
  8. </script>

四、流程控制小结

目标:掌握流程控制,写出能“思考”的程序

  1. 程序三大流程控制是?

    • 三种形式
    • 顺序分支
    • 循环
  2. if语句
  3. switch语句

    • 全等判断
    • break:结束switch语句,防止穿透
    • 穿透可合理利用
  4. 三元表达式

    • 也是双分支
    • 一般湖来取值

五、术语解释

目标:知道一些术语,让自己更专业

术语 解释 举例
关键字 在JavaScript中有特殊意义的词汇 let、var、function、if、else、switch、 case、break
保留字 在目前的JavaScript中没意义,但未来可能会具有特殊意义的词汇 int、 short、long、char
标识(标识符) 能产生值的代码,一般配合运算符出
表达式 能产生值的代码,一般配合运算符出现 10 + 3、age >= 18
语句 一句代码也称之为一条语句,一般按用途还会分类:输出语句、声明语句、分支语句