Last active
December 29, 2022 21:49
-
-
Save charliewilco/94a31acd3e9a9f6a0561269018c0d69e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. What is the difference between an array and a set? | |
// --- | |
const values = []; | |
const _values = new Set(); | |
// 2. What is the difference between an object and a map? | |
// --- | |
const dict = {}; | |
const _dict = new Map(); | |
// 3. What is the advantage of using a class? | |
// --- | |
class Foo {} | |
// 4. What is the difference between the following operators? | |
// --- | |
// = | |
// == | |
// === |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment