However, to give developers more flexibility, the ECMAScript 2015 specification introduced two new types of iterable objects: Maps, which are ordered collections of key/value pairs, and Sets, which are collections of unique values. Developers use Objects to store key/value pairs and Arrays to store indexed lists. The two predominant data structures for storing collections of data are Objects and Arrays (a type of object). This is because choosing the correct data structure can make it easier to manipulate that data later on, saving time and making code easier to comprehend. In JavaScript, developers often spend a lot of time deciding the correct data structure to use. The author selected the Open Internet/Free Speech Fund to receive a donation as part of the Write for DOnations program.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |