---
title: "Discussion on \"What is Strict Mode in JavaScript? Explained with Examples\" | Hashnode"
description: "Discussion on \"What is Strict Mode in JavaScript? Explained with Examples\". If you are a JavaScript developer, you may come across the string \"use strict\" at the top of your JavaScript code. This means that JavaScript's strict mode is in use. But what does this mean, and why does it matter?\nIn this article, you'll learn what..."
url: "https://hashnode.com/posts/how-to-use-strict-mode-in-javascript/66d45ddcc7632f8bfbf1e3f1"
---

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

Discussion

# [What is Strict Mode in JavaScript? Explained with Examples](https://freecodecamp.org/news/how-to-use-strict-mode-in-javascript?utm_source=hashnode&utm_medium=feed)

If you are a JavaScript developer, you may come across the string "use strict" at the top of your JavaScript code. This means that JavaScript's strict mode is in use. But what does this mean, and why does it matter? In this article, you'll learn what...

Feb 6, 2024 · 6 min read · freecodecamp.org  
Updated Apr 2, 2025  
Read the article

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

## Written by

[Benjamin Semah](https://hashnode.com/@benjaminSemah)

@benjaminSemah · Accra, Ghana.

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

Articles on Web Development and Technical Writing

I am a full stack developer passionate about web accessibility. When I'm not behind the screens, you'll likely find me reading or going for a 5K run.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
