-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathnoargs.js
34 lines (32 loc) · 1.37 KB
/
noargs.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
function write(v) { WScript.Echo(v + ""); }
write("escape = " + escape());
write("unescape = " + unescape());
write("eval = " + eval());
write("parseInt = " + parseInt());
write("parseFloat = " + parseFloat());
write("isNaN = " + isNaN());
write("isFinite = " + isFinite());
write("decodeURI = " + decodeURI());
write("encodeURI = " + encodeURI());
write("decodeURIComponent = " + decodeURIComponent());
write("encodeURIComponent = " + encodeURIComponent());
write("Object = " + Object());
write("Function = " + Function());
write("Array = " + Array());
write("String = " + String());
write("Boolean = " + Boolean());
write("Number = " + Number());
//write("Date = " + Date());
write("RegExp = " + RegExp());
write("Error = " + Error());
write("EvalError = " + EvalError());
write("RangeError = " + RangeError());
write("ReferenceError = " + ReferenceError());
write("SyntaxError = " + SyntaxError());
write("TypeError = " + TypeError());
write("URIError = " + URIError());
write("write: " + write);