DEV Community

Benjamin Mock profile picture

Benjamin Mock

I'm Ben, a Frontend Developer from Germany working at ebay

Location Berlin Joined Joined on  Personal website https://codesnacks.net github website

Work

Frontend Developer at codesnacks

VS Code Extensions to become a more productive Developer 🤓🤓🤓

VS Code Extensions to become a more productive Developer 🤓🤓🤓

Reactions 539 Comments 24
3 min read
JS 🔥: Conditionally setting an object property

JS 🔥: Conditionally setting an object property

Reactions 48 Comments
1 min read
⚡ object destructuring in JS: renaming properties⚡

⚡ object destructuring in JS: renaming properties⚡

Reactions 19 Comments
1 min read
⚡⚡ 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: setting default values

🧱🧱🧱 object destructuring in JS: setting default values

Reactions 38 Comments 2
1 min read
🤔 How to create a MySQL connection and run queries with Python3

🤔 How to create a MySQL connection and run queries with Python3

Reactions 12 Comments 1
1 min read
JS - 💡 Merging multiple objects into one

JS - 💡 Merging multiple objects into one

Reactions 18 Comments
2 min read
🤫How to handle 🗝️ secrets 🗝️ in Node.js (Video Tutorial) 03:15

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

Reactions 99 Comments 5
1 min read
💡 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 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
💡 IIFE - Immediately Invoked Function Expressions in JavaScript

💡 IIFE - Immediately Invoked Function Expressions in JavaScript

Reactions 12 Comments
1 min read
🚀 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
💡 Dealing with command line arguments in Node.js

💡 Dealing with command line arguments in Node.js

Reactions 49 Comments 4
2 min read
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
🤔 Check if an object is empty in JS

🤔 Check if an object is empty in JS

Reactions 67 Comments 3
2 min read
Do you know what 📦 Autoboxing in JS is?

Do you know what 📦 Autoboxing in JS is?

Reactions 71 Comments 1
1 min read
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
🛸 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
const 📦, seal 🤐, freeze ❄️ & immutability 🤓 in JS

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

Reactions 168 Comments 10
2 min read
✒️ Some 🔥 tips on using the JS console (console.log & console.table)

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

Reactions 130 Comments 11
2 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
✏️ Drawing sketchy shapes in JavaScript using RoughJS

✏️ Drawing sketchy shapes in JavaScript using RoughJS

Reactions 13 Comments
2 min read
🚀 Performance measuring of a webpage with JavaScript in Node.js using puppeteer

🚀 Performance measuring of a webpage with JavaScript in Node.js using puppeteer

Reactions 16 Comments
1 min read
👟 Executing JavaScript in the page context of puppeteer

👟 Executing JavaScript in the page context of puppeteer

Reactions 20 Comments 1
1 min read
JavaScript Dates in SQL

JavaScript Dates in SQL

Reactions 44 Comments 2
1 min read
Colorful console.log in JavaScript

Colorful console.log in JavaScript

Reactions 35 Comments 2
11 min read
🧭 Programmatically taking Screenshots while navigating & searching on webpages using JavaScript (puppeteer)

🧭 Programmatically taking Screenshots while navigating & searching on webpages using JavaScript (puppeteer)

Reactions 42 Comments
2 min read
🍪 Screenshot or scrape webpages behind a login with JavaScript (in Node.js)

🍪 Screenshot or scrape webpages behind a login with JavaScript (in Node.js)

Reactions 43 Comments
2 min read
🗄️ The easiest way to scrape a website with Javascript (in Node.js)

🗄️ The easiest way to scrape a website with Javascript (in Node.js)

Reactions 148 Comments 7
2 min read
📷 More on Screenshots with JavaScript in Node.js (creating PDFs)

📷 More on Screenshots with JavaScript in Node.js (creating PDFs)

Reactions 45 Comments
1 min read
📷 More on Screenshots with JavaScript in Node.js (emulating devices)

📷 More on Screenshots with JavaScript in Node.js (emulating devices)

Reactions 25 Comments
1 min read
How to programmatically extract data from a webpage (e.g your dev.to reading list)

How to programmatically extract data from a webpage (e.g your dev.to reading list)

Reactions 31 Comments
2 min read
📚📚📚 What's on your dev.to Reading List? Please share it!

📚📚📚 What's on your dev.to Reading List? Please share it!

Reactions 11 Comments 1
1 min read
Gatsby vs Next.js vs create-react-app ⚔️ - what are they and what are the differences?

Gatsby vs Next.js vs create-react-app ⚔️ - what are they and what are the differences?

Reactions 50 Comments 8
2 min read
Arguments and Parameters - do you know the difference?

Arguments and Parameters - do you know the difference?

Reactions 123 Comments 6
1 min read
How to handle secrets in Node.js 🗝️🗝️🗝️ (environment variables)

How to handle secrets in Node.js 🗝️🗝️🗝️ (environment variables)

Reactions 74 Comments 6
1 min read
How to handle secrets in Node.JS (environment variables) 03:15

How to handle secrets in Node.JS (environment variables)

Reactions 5 Comments
1 min read
🎻🎻 A first step to becoming an npm virtuoso

🎻🎻 A first step to becoming an npm virtuoso

Reactions 47 Comments
2 min read
🤓🤓 Top VS Code Extensions & Settings to become a more productive Developer 2

🤓🤓 Top VS Code Extensions & Settings to become a more productive Developer 2

Reactions 92 Comments 2
2 min read
Learn Svelte by building a simple Tic Tac Toe game

Learn Svelte by building a simple Tic Tac Toe game

Reactions 39 Comments
9 min read
Top VS Code Extension that will make you a more productive developer

Top VS Code Extension that will make you a more productive developer

Reactions 235 Comments 9
3 min read
loading...