14514f5e3Sopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd. 24514f5e3Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 34514f5e3Sopenharmony_ci# you may not use this file except in compliance with the License. 44514f5e3Sopenharmony_ci# You may obtain a copy of the License at 54514f5e3Sopenharmony_ci# 64514f5e3Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 74514f5e3Sopenharmony_ci# 84514f5e3Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 94514f5e3Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 104514f5e3Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 114514f5e3Sopenharmony_ci# See the License for the specific language governing permissions and 124514f5e3Sopenharmony_ci# limitations under the License. 134514f5e3Sopenharmony_ci 144514f5e3Sopenharmony_civalue 154514f5e3Sopenharmony_ci0 164514f5e3Sopenharmony_ci-1 174514f5e3Sopenharmony_ci-2 184514f5e3Sopenharmony_ciundefined 194514f5e3Sopenharmony_cisuccess 204514f5e3Sopenharmony_ciMap 1: 214514f5e3Sopenharmony_ciKey: ark_stringKey, Value: ark_stringValue 224514f5e3Sopenharmony_ciMap 2: 234514f5e3Sopenharmony_ciKey: 1, Value: ark_numberValue 244514f5e3Sopenharmony_ciMap 3: 254514f5e3Sopenharmony_ciKey: true, Value: ark_booleanValue 264514f5e3Sopenharmony_ciMap 4: 274514f5e3Sopenharmony_ciKey: [object Object], Value: ark_objectValue 284514f5e3Sopenharmony_ciMap 5: 294514f5e3Sopenharmony_ciKey: null, Value: ark_nullValue 304514f5e3Sopenharmony_ciMap 6: 314514f5e3Sopenharmony_ciKey: undefined, Value: ark_undefinedValue 324514f5e3Sopenharmony_ciMap 7: 334514f5e3Sopenharmony_ciKey: NaN, Value: ark_NaNValue 344514f5e3Sopenharmony_ciMap 8: 354514f5e3Sopenharmony_ciKey: Infinity, Value: ark_infinityValue 364514f5e3Sopenharmony_ciMap 9: 374514f5e3Sopenharmony_ciKey: -Infinity, Value: ark_negativeInfinityValue 384514f5e3Sopenharmony_ciMap 10: 394514f5e3Sopenharmony_ciKey: /ark_regexKey/, Value: ark_regexValue 404514f5e3Sopenharmony_ciMap 11: 414514f5e3Sopenharmony_ciKey: [object Map], Value: ark_mapValue 424514f5e3Sopenharmony_ciMap 12: 434514f5e3Sopenharmony_ciKey: [object Set], Value: ark_setValue 444514f5e3Sopenharmony_ciMap 13: 454514f5e3Sopenharmony_ciKey: 1,2,3, Value: ark_arrayValue 464514f5e3Sopenharmony_ciMap 14: 474514f5e3Sopenharmony_ciKey: ark_unicodeKey , Value: ark_unicodeValue 484514f5e3Sopenharmony_cifunction Map() { [native code] } 494514f5e3Sopenharmony_ciKeys: ark_stringKey 504514f5e3Sopenharmony_ciKeys: 1 514514f5e3Sopenharmony_ciKeys: true 524514f5e3Sopenharmony_ciKeys: [object Object] 534514f5e3Sopenharmony_ciKeys: null 544514f5e3Sopenharmony_ciKeys: undefined 554514f5e3Sopenharmony_ciKeys: NaN 564514f5e3Sopenharmony_ciKeys: Infinity 574514f5e3Sopenharmony_ciKeys: -Infinity 584514f5e3Sopenharmony_ciKeys: /ark_regexKey/ 594514f5e3Sopenharmony_ciKeys: [object Map] 604514f5e3Sopenharmony_ciKeys: [object Set] 614514f5e3Sopenharmony_ciKeys: 1,2,3 624514f5e3Sopenharmony_ciKeys: ark_unicodeKey 634514f5e3Sopenharmony_ciValue: ark_stringValue 644514f5e3Sopenharmony_ciValue: ark_numberValue 654514f5e3Sopenharmony_ciValue: ark_booleanValue 664514f5e3Sopenharmony_ciValue: ark_objectValue 674514f5e3Sopenharmony_ciValue: ark_nullValue 684514f5e3Sopenharmony_ciValue: ark_undefinedValue 694514f5e3Sopenharmony_ciValue: ark_NaNValue 704514f5e3Sopenharmony_ciValue: ark_infinityValue 714514f5e3Sopenharmony_ciValue: ark_negativeInfinityValue 724514f5e3Sopenharmony_ciValue: ark_regexValue 734514f5e3Sopenharmony_ciValue: ark_mapValue 744514f5e3Sopenharmony_ciValue: ark_setValue 754514f5e3Sopenharmony_ciValue: ark_arrayValue 764514f5e3Sopenharmony_ciValue: ark_unicodeValue 774514f5e3Sopenharmony_ciKey: ark_stringKey, Value: ark_stringValue 784514f5e3Sopenharmony_ciKey: 1, Value: ark_numberValue 794514f5e3Sopenharmony_ciKey: true, Value: ark_booleanValue 804514f5e3Sopenharmony_ciKey: [object Object], Value: ark_objectValue 814514f5e3Sopenharmony_ciKey: null, Value: ark_nullValue 824514f5e3Sopenharmony_ciKey: undefined, Value: ark_undefinedValue 834514f5e3Sopenharmony_ciKey: NaN, Value: ark_NaNValue 844514f5e3Sopenharmony_ciKey: Infinity, Value: ark_infinityValue 854514f5e3Sopenharmony_ciKey: -Infinity, Value: ark_negativeInfinityValue 864514f5e3Sopenharmony_ciKey: /ark_regexKey/, Value: ark_regexValue 874514f5e3Sopenharmony_ciKey: [object Map], Value: ark_mapValue 884514f5e3Sopenharmony_ciKey: [object Set], Value: ark_setValue 894514f5e3Sopenharmony_ciKey: 1,2,3, Value: ark_arrayValue 904514f5e3Sopenharmony_ciKey: ark_unicodeKey , Value: ark_unicodeValue 914514f5e3Sopenharmony_ciKey: ark_stringKey, Retrieved Value: ark_stringValue 924514f5e3Sopenharmony_ciKey: ark_stringKey, Exists: true 934514f5e3Sopenharmony_ciKey: 1, Retrieved Value: ark_numberValue 944514f5e3Sopenharmony_ciKey: 1, Exists: true 954514f5e3Sopenharmony_ciKey: true, Retrieved Value: ark_booleanValue 964514f5e3Sopenharmony_ciKey: true, Exists: true 974514f5e3Sopenharmony_ciKey: [object Object], Retrieved Value: ark_objectValue 984514f5e3Sopenharmony_ciKey: [object Object], Exists: true 994514f5e3Sopenharmony_ciKey: null, Retrieved Value: ark_nullValue 1004514f5e3Sopenharmony_ciKey: null, Exists: true 1014514f5e3Sopenharmony_ciKey: undefined, Retrieved Value: ark_undefinedValue 1024514f5e3Sopenharmony_ciKey: undefined, Exists: true 1034514f5e3Sopenharmony_ciKey: NaN, Retrieved Value: ark_NaNValue 1044514f5e3Sopenharmony_ciKey: NaN, Exists: true 1054514f5e3Sopenharmony_ciKey: Infinity, Retrieved Value: ark_infinityValue 1064514f5e3Sopenharmony_ciKey: Infinity, Exists: true 1074514f5e3Sopenharmony_ciKey: -Infinity, Retrieved Value: ark_negativeInfinityValue 1084514f5e3Sopenharmony_ciKey: -Infinity, Exists: true 1094514f5e3Sopenharmony_ciKey: /ark_regexKey/, Retrieved Value: ark_regexValue 1104514f5e3Sopenharmony_ciKey: /ark_regexKey/, Exists: true 1114514f5e3Sopenharmony_ciKey: [object Map], Retrieved Value: ark_mapValue 1124514f5e3Sopenharmony_ciKey: [object Map], Exists: true 1134514f5e3Sopenharmony_ciKey: [object Set], Retrieved Value: ark_setValue 1144514f5e3Sopenharmony_ciKey: [object Set], Exists: true 1154514f5e3Sopenharmony_ciKey: 1,2,3, Retrieved Value: ark_arrayValue 1164514f5e3Sopenharmony_ciKey: 1,2,3, Exists: true 1174514f5e3Sopenharmony_ciKey: ark_unicodeKey , Retrieved Value: ark_unicodeValue 1184514f5e3Sopenharmony_ciKey: ark_unicodeKey , Exists: true 1194514f5e3Sopenharmony_ci0 1204514f5e3Sopenharmony_ci0 1214514f5e3Sopenharmony_ciCaught an error: TypeError: iterable is not object 1224514f5e3Sopenharmony_ciException usage, but does not throw an error 1234514f5e3Sopenharmony_ciCaught an error: TypeError: obj is not Callable 1244514f5e3Sopenharmony_ciKey: key1, Value: value1 1254514f5e3Sopenharmony_ciCaught an error: Error: Encountered key2 126