Quiz di Arrays & Objects

Work with JavaScript's everyday data structures: array methods, sorting, copying objects, destructuring and the built-in Map and Set.

Principiante 5 quiz · 50 domande circa 28 minuti
0/5superati Esame di categoria 20 domande miste. Con l'80% ottieni un certificato.
Tag:
1 map, filter & reduce Medio Predict what map, filter, reduce and their friends return, including the classic callback traps. #arrays#array-methods 10 domande · ~6 min Da iniziare Inizia
2 Sorting Gotchas Medio Learn why [10, 1, 5].sort() surprises people and how to sort numbers, strings and objects correctly. #arrays#sorting#gotchas 10 domande · ~6 min Da iniziare Inizia
3 Objects & Copying Medio Understand references, shallow and deep copies, and why changing a copy can change the original. #objects#copying 10 domande · ~6 min Da iniziare Inizia
4 Destructuring & Spread Facile Pull values out of arrays and objects and spread them into new ones. #destructuring#spread 10 domande · ~5 min Da iniziare Inizia
5 Map & Set Facile Use Map for key-value data and Set for unique values, and know how they differ from plain objects and arrays. #map#set 10 domande · ~5 min Da iniziare Inizia