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?

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

Colorful console.log in JavaScript

35
Comments 2
11 min read
JavaScript Dates in SQL

JavaScript Dates in SQL

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)

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)

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

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!

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)

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?

72
Comments 2
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

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?

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

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!

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

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

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

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)

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

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

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 ⚡

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⚡

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

48
Comments
1 min read