forked from chakra-core/ChakraCore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypeofdata.js
More file actions
27 lines (24 loc) · 799 Bytes
/
typeofdata.js
File metadata and controls
27 lines (24 loc) · 799 Bytes
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
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
WScript.RegisterCrossThreadInterfacePS();
//
// data for "typeoftest.js"
//
var g_undefined = undefined;
var g_boolean = true;
var g_number = 12.34;
var g_string = "a string";
var g_function = function () { };
var g_object = {};
var g_null = null;
var g_data = [
g_undefined,
g_boolean ,
g_number ,
g_string ,
g_function ,
g_object ,
g_null ,
];