![]() |
In JavaScript, Map coercion refers to the automatic conversion of an object or an iterable (such as an array) into a Map using the Example: Here, the array Javascript
Output
Map(3) { 'key1' => 'value1', 'key2' => 'value2', 'key3' => 'value3' } |
Reffered: https://www.geeksforgeeks.org
JavaScript |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 11 |