DEV Community

codesnacks Series' Articles

Back to Benjamin Mock's Series
Arguments and Parameters - do you know the difference?
Cover image for Arguments and Parameters - do you know the difference?

Arguments and Parameters - do you know the difference?

Reactions 123 Comments 6
1 min read
Colorful console.log in JavaScript
Cover image for Colorful console.log in JavaScript

Colorful console.log in JavaScript

Reactions 35 Comments 2
11 min read
JavaScript Dates in SQL

JavaScript Dates in SQL

Reactions 44 Comments 2
1 min read
📅📅 How to compare Dates in JS (getting the difference in days)

📅📅 How to compare Dates in JS (getting the difference in days)

Reactions 57 Comments
1 min read
✒️ Some 🔥 tips on using the JS console (console.log & console.table)
Cover image for ✒️ Some 🔥 tips on using the JS console (console.log & console.table)

✒️ Some 🔥 tips on using the JS console (console.log & console.table)

Reactions 132 Comments 11
2 min read
const 📦, seal 🤐, freeze ❄️ & immutability 🤓 in JS
Cover image for const 📦, seal 🤐, freeze ❄️ & immutability 🤓 in JS

const 📦, seal 🤐, freeze ❄️ & immutability 🤓 in JS

Reactions 169 Comments 10
2 min read
🛸 Is JavaScript using pass by value or pass by reference? Let's find out!
Cover image for 🛸 Is JavaScript using pass by value or pass by reference? Let's find out!

🛸 Is JavaScript using pass by value or pass by reference? Let's find out!

Reactions 68 Comments 4
2 min read
The pitfalls 🕳️ of cloning objects in JS (with Object.assign & object spread)
Cover image for The pitfalls 🕳️ of cloning objects in JS (with Object.assign & object spread)

The pitfalls 🕳️ of cloning objects in JS (with Object.assign & object spread)

Reactions 51 Comments 2
2 min read
Do you know what 📦 Autoboxing in JS is?
Cover image for Do you know what 📦 Autoboxing in JS is?

Do you know what 📦 Autoboxing in JS is?

Reactions 71 Comments 1
1 min read
🤔 Check if an object is empty in JS
Cover image for 🤔 Check if an object is empty in JS

🤔 Check if an object is empty in JS

Reactions 68 Comments 3
2 min read
Coercion in JavaScript - 🤔 do you know what it is?
Cover image for Coercion in JavaScript - 🤔 do you know what it is?

Coercion in JavaScript - 🤔 do you know what it is?

Reactions 55 Comments 7
2 min read
💡 Dealing with command line arguments in Node.js
Cover image for 💡 Dealing with command line arguments in Node.js

💡 Dealing with command line arguments in Node.js

Reactions 49 Comments 4
2 min read
🚀 Get better at web development: CodeSnacks 🍫🍪🍩 Tutorial Tuesday Newsletter + one sweet JS hack!
Cover image for 🚀 Get better at web development: CodeSnacks 🍫🍪🍩 Tutorial Tuesday Newsletter + one sweet JS hack!

🚀 Get better at web development: CodeSnacks 🍫🍪🍩 Tutorial Tuesday Newsletter + one sweet JS hack!

Reactions 15 Comments 2
2 min read
💡 IIFE - Immediately Invoked Function Expressions in JavaScript
Cover image for 💡 IIFE - Immediately Invoked Function Expressions in JavaScript

💡 IIFE - Immediately Invoked Function Expressions in JavaScript

Reactions 14 Comments
1 min read
💡 How to check if a variable is undefined in JS
Cover image for 💡 How to check if a variable is undefined in JS

💡 How to check if a variable is undefined in JS

Reactions 43 Comments 10
1 min read
💡 How to dynamically create and access properties on JavaScript objects
Cover image for 💡 How to dynamically create and access properties on JavaScript objects

💡 How to dynamically create and access properties on JavaScript objects

Reactions 16 Comments 1
1 min read
🤫How to handle 🗝️ secrets 🗝️ in Node.js (Video Tutorial)
Cover image for 🤫How to handle 🗝️ secrets 🗝️ in Node.js (Video Tutorial)
03:15

🤫How to handle 🗝️ secrets 🗝️ in Node.js (Video Tutorial)

Reactions 100 Comments 5
1 min read
JS - 💡 Merging multiple objects into one
Cover image for JS - 💡 Merging multiple objects into one

JS - 💡 Merging multiple objects into one

Reactions 18 Comments
2 min read
🧱🧱🧱 object destructuring in JS: setting default values
Cover image for 🧱🧱🧱 object destructuring in JS: setting default values

🧱🧱🧱 object destructuring in JS: setting default values

Reactions 38 Comments 2
1 min read
⚡⚡ a short guide to object destructuring in JS ⚡
Cover image for ⚡⚡ a short guide to object destructuring in JS ⚡

⚡⚡ a short guide to object destructuring in JS ⚡

Reactions 18 Comments 2
1 min read
⚡ object destructuring in JS: renaming properties⚡
Cover image for ⚡ object destructuring in JS: renaming properties⚡

⚡ object destructuring in JS: renaming properties⚡

Reactions 19 Comments
1 min read
JS 🔥: Conditionally setting an object property
Cover image for JS 🔥: Conditionally setting an object property

JS 🔥: Conditionally setting an object property

Reactions 48 Comments
1 min read