1# Copyright (c) 2024 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14value
150
16-1
17-2
18undefined
19success
20Map 1:
21Key: ark_stringKey, Value: ark_stringValue
22Map 2:
23Key: 1, Value: ark_numberValue
24Map 3:
25Key: true, Value: ark_booleanValue
26Map 4:
27Key: [object Object], Value: ark_objectValue
28Map 5:
29Key: null, Value: ark_nullValue
30Map 6:
31Key: undefined, Value: ark_undefinedValue
32Map 7:
33Key: NaN, Value: ark_NaNValue
34Map 8:
35Key: Infinity, Value: ark_infinityValue
36Map 9:
37Key: -Infinity, Value: ark_negativeInfinityValue
38Map 10:
39Key: /ark_regexKey/, Value: ark_regexValue
40Map 11:
41Key: [object Map], Value: ark_mapValue
42Map 12:
43Key: [object Set], Value: ark_setValue
44Map 13:
45Key: 1,2,3, Value: ark_arrayValue
46Map 14:
47Key: ark_unicodeKey �, Value: ark_unicodeValue �
48function Map() { [native code] }
49Keys: ark_stringKey
50Keys: 1
51Keys: true
52Keys: [object Object]
53Keys: null
54Keys: undefined
55Keys: NaN
56Keys: Infinity
57Keys: -Infinity
58Keys: /ark_regexKey/
59Keys: [object Map]
60Keys: [object Set]
61Keys: 1,2,3
62Keys: ark_unicodeKey �
63Value: ark_stringValue
64Value: ark_numberValue
65Value: ark_booleanValue
66Value: ark_objectValue
67Value: ark_nullValue
68Value: ark_undefinedValue
69Value: ark_NaNValue
70Value: ark_infinityValue
71Value: ark_negativeInfinityValue
72Value: ark_regexValue
73Value: ark_mapValue
74Value: ark_setValue
75Value: ark_arrayValue
76Value: ark_unicodeValue �
77Key: ark_stringKey, Value: ark_stringValue
78Key: 1, Value: ark_numberValue
79Key: true, Value: ark_booleanValue
80Key: [object Object], Value: ark_objectValue
81Key: null, Value: ark_nullValue
82Key: undefined, Value: ark_undefinedValue
83Key: NaN, Value: ark_NaNValue
84Key: Infinity, Value: ark_infinityValue
85Key: -Infinity, Value: ark_negativeInfinityValue
86Key: /ark_regexKey/, Value: ark_regexValue
87Key: [object Map], Value: ark_mapValue
88Key: [object Set], Value: ark_setValue
89Key: 1,2,3, Value: ark_arrayValue
90Key: ark_unicodeKey �, Value: ark_unicodeValue �
91Key: ark_stringKey, Retrieved Value: ark_stringValue
92Key: ark_stringKey, Exists: true
93Key: 1, Retrieved Value: ark_numberValue
94Key: 1, Exists: true
95Key: true, Retrieved Value: ark_booleanValue
96Key: true, Exists: true
97Key: [object Object], Retrieved Value: ark_objectValue
98Key: [object Object], Exists: true
99Key: null, Retrieved Value: ark_nullValue
100Key: null, Exists: true
101Key: undefined, Retrieved Value: ark_undefinedValue
102Key: undefined, Exists: true
103Key: NaN, Retrieved Value: ark_NaNValue
104Key: NaN, Exists: true
105Key: Infinity, Retrieved Value: ark_infinityValue
106Key: Infinity, Exists: true
107Key: -Infinity, Retrieved Value: ark_negativeInfinityValue
108Key: -Infinity, Exists: true
109Key: /ark_regexKey/, Retrieved Value: ark_regexValue
110Key: /ark_regexKey/, Exists: true
111Key: [object Map], Retrieved Value: ark_mapValue
112Key: [object Map], Exists: true
113Key: [object Set], Retrieved Value: ark_setValue
114Key: [object Set], Exists: true
115Key: 1,2,3, Retrieved Value: ark_arrayValue
116Key: 1,2,3, Exists: true
117Key: ark_unicodeKey �, Retrieved Value: ark_unicodeValue �
118Key: ark_unicodeKey �, Exists: true
1190
1200
121Caught an error: TypeError: iterable is not object
122Exception usage, but does not throw an error
123Caught an error: TypeError: obj is not Callable
124Key: key1, Value: value1
125Caught an error: Error: Encountered key2
126