---
title: "Discussion on \"Most common mistakes of (not only) JavaScript developers\" | Hashnode"
description: "Discussion on \"Most common mistakes of (not only) JavaScript developers\". Most common mistakes made by JavaScript developers and how to avoid them."
url: "https://hashnode.com/posts/most-common-mistakes-of-not-only-javascript-developers/6274b4baf24a8e4867f926b8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Most common mistakes of (not only) JavaScript developers](https://blog.thecode.xyz/most-common-mistakes-of-not-only-javascript-developers?utm_source=hashnode&utm_medium=feed)

Most common mistakes made by JavaScript developers and how to avoid them.

May 6, 2022 · 5 min read · blog.thecode.xyz  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#learning](https://hashnode.com/tag/learning)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)

## Written by

[Tomek Skupiński](https://hashnode.com/@focusinsky)

@focusinsky

  
[View profile](https://hashnode.com/@focusinsky)

Software Engineer, 1/3 of thecode.xyz

I’m Tomek, software engineer, working mostly with Ruby on Rails. I work remotely at Mixlr where every day we deliver live audio to millions of listeners. After hours, I write, read, and help my wife run theCode.xyz

## Responses 2

Markdown supported · ⌘↵ to post

[nichromat](https://hashnode.com/@nichromat)

[May 6, 2022](https://hashnode.com/posts/most-common-mistakes-of-not-only-javascript-developers/6274b4baf24a8e4867f926b8/comment/62751d5450c6035691e2aa58)

Such a great post!!

Although, as a beginner in web dev. I have some questions:

> Not using `var`, `let`, or `const` to declare variables

I didn't know that by not using these keywords, variables would become global. But, doesn't `var` make a variable global?

> Using JavaScript for everything

Do you mean, using JavaScript for Front-end vs Back-end?

[Tomek Skupiński](https://hashnode.com/@focusinsky)

[May 6, 2022](https://hashnode.com/posts/most-common-mistakes-of-not-only-javascript-developers/6274b4baf24a8e4867f926b8/comment/62751d5450c6035691e2aa58#reply-6275326f317fc95a74ca6000)

[nichromat](https://hashnode.com/@nichromat) I have added the answer above 😊 Sorry for splitting it into two posts.

[nichromat](https://hashnode.com/@nichromat)

[May 6, 2022](https://hashnode.com/posts/most-common-mistakes-of-not-only-javascript-developers/6274b4baf24a8e4867f926b8/comment/62751d5450c6035691e2aa58#reply-6275330f317fc95a74ca6009)

[Tomek Skupiński](https://hashnode.com/@focusinsky) Oops, I didn't see it. Thank you very much for your answers. Good luck 😸

[Tomek Skupiński](https://hashnode.com/@focusinsky)

[May 6, 2022](https://hashnode.com/posts/most-common-mistakes-of-not-only-javascript-developers/6274b4baf24a8e4867f926b8/comment/62751d5450c6035691e2aa58#reply-627533f1dc122f5a4f21c328)

[nichromat](https://hashnode.com/@nichromat) No worries, hit me if you will have any other questions or would like to talk about something code-related. Have a good weekend.

[Cess](https://hashnode.com/@Cesscode)

[May 6, 2022](https://hashnode.com/posts/most-common-mistakes-of-not-only-javascript-developers/6274b4baf24a8e4867f926b8/comment/6274dcf30ef1b05555afceac)

Thanks for sharing

[Tomek Skupiński](https://hashnode.com/@focusinsky)

[May 6, 2022](https://hashnode.com/posts/most-common-mistakes-of-not-only-javascript-developers/6274b4baf24a8e4867f926b8/comment/6274dcf30ef1b05555afceac#reply-6274e06050c6035691e2a0cd)

Glad you liked it 😊
