リファレンス
公式トップページ
String
RegExp
チートシート
サクラエディタでのJScriptJScript.NETには対応してないみたい。そのため、上のリファレンスと以下の点が違う
トラップ
code snippetメッセージボックス表示function debugPrint(str) { var WSHShell = new ActiveXObject("WScript.Shell"); WSHShell.Popup(str, 0, "debug", 1); }
ファイルの存在チェック var fso = new ActiveXObject("Scripting.FileSystemObject"); if(fso.FileExists(fileName)) ... |