- Courses
- 💻Programming Languages
- 🌐JavaScript
- Core Objects
JavaScript Core Objects
Discover the powerful built-in objects in JavaScript. Master arrays, maps, sets, dates, and other essential data structures.
📄️Arrays
Master JavaScript Arrays fast! Learn about literals, accessing elements by index, length, and essential Array methods like push, pop, splice, and sort. Plus, dive into ES6 Destructuring and the Spread Operator.
📄️Associative arrays
Discover how to properly handle Associative Arrays (Dictionaries) in JavaScript. Learn why using standard JavaScript Objects is the correct, safe, and recommended way to manage key-value pairs instead of unsafe array indexing.
📄️Math
Quickly master the JavaScript Math object! Explore essential properties like PI and E, and powerful built-in methods like random, ceil, floor, max, min, and trigonometric functions.
📄️Date
Master the JavaScript Date object quickly! Learn the different ways to instantiate a date with or without arguments. Understand how dates are calculated from 1970 UTC and how months are zero-indexed. Explore essential Date methods like getFullYear(), getMonth(), and getDay() to manage time in your code.
📄️Maps
Explore the power of JavaScript Maps! Learn how to create and use set(), get(), has(), and delete() methods for key-value collections. Understand the key differences between Maps and Objects, including insertion order and using keys of any type.
📄️Sets
Discover the power of JavaScript Sets! Learn how to create and manage collections of unique values using the add(), has(), and delete() methods. Quickly understand how to check the size and iterate over set elements. Plus, see how to easily convert a Set to an Array.
📄️Promises
Quickly understand JavaScript Promises! Learn how to create promises using resolve and reject and consume results with the then() method. Master Promise States (pending, fulfilled, rejected), powerful chaining, and proper error handling with catch() for asynchronous operations.
📄️MinHeap implementation
Master the MinHeap data structure with a complete JavaScript implementation! Quickly learn the logic behind push and pop operations, including the crucial heapifyUp and heapifyDown algorithms.
Found this helpful? Share the knowledge...
... or support this project to keep it alive!
Previous
Encapsulation & Private Fields
Next
Arrays