17.Retrieving the Key-values / keys / values from the MAP - forEach()-get()-keys()-values()

preview_player
Показать описание
By the end of this video you will be able to :-

1. Retrieve the Values from the MAP provided key
2. Retrieve the Keys from the MAP provided value
3. Retrieve both key-value pairs
4. Iterate through the MAP

Understand
forEach , get , values and keys in the easiest way possible

in order to understand this video better watch the previous part i.e 16

If any doubt or query
Facebook
Instagram

The forEach() method executes a provided function once per each key/value pair in the Map object, in insertion order.

Parameters
Section

callback
Function to execute for each element.
thisArg
Value to use as this when executing callback.

Return value
Section

undefined.

The get() method returns a specified element from a Map object.

The keys() method returns a new Iterator object that contains the keys for each element in the Map object in insertion order.

he values() method returns a new Iterator object that contains the values for each element in the Map object in insertion order.

17.Retrieving the Key-values / keys / values from the MAP - forEach()-get()-keys()-values()
Рекомендации по теме
Комментарии
Автор

Can u teach me 10 class all chapters in easy method or tricks

shaiknazneen