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 🤓🤓🤓

541
Comments 24
3 min read

Want to connect with Benjamin Mock?

Create an account to connect with Benjamin Mock. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
JS 🔥: Conditionally setting an object property

JS 🔥: Conditionally setting an object property

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

⚡ object destructuring in JS: renaming properties⚡

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

🧱🧱🧱 object destructuring in JS: setting default values

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

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

JS - 💡 Merging multiple objects into one

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)

100
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

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

43
Comments 10
1 min read
💡 IIFE - Immediately Invoked Function Expressions in JavaScript

💡 IIFE - Immediately Invoked Function Expressions in JavaScript

14
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!

15
Comments 2
2 min read
💡 Dealing with command line arguments in Node.js

💡 Dealing with command line arguments in Node.js

49
Comments 4
2 min read
Coercion in JavaScript - 🤔 do you know what it is?

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

55
Comments 7
2 min read
🤔 Check if an object is empty in JS

🤔 Check if an object is empty in JS

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

Do you know what 📦 Autoboxing in JS is?

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

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!

68
Comments 4
2 min read
const 📦, seal 🤐, freeze ❄️ & immutability 🤓 in JS

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

169
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)

132
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)

57
Comments
1 min read
✏️ Drawing sketchy shapes in JavaScript using RoughJS

✏️ Drawing sketchy shapes in JavaScript using RoughJS

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

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

👟 Executing JavaScript in the page context of puppeteer

22
Comments 1
1 min read
JavaScript Dates in SQL

JavaScript Dates in SQL

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

Colorful console.log in JavaScript

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)

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)

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)

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)

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)

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)

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!

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?

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

Arguments and Parameters - do you know the difference?

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

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

77
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)

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

🎻🎻 A first step to becoming an npm virtuoso

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

93
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

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

241
Comments 9
3 min read
loading...