You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorial/best-practices-js.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,9 @@ tags:
8
8
description: "In this tutorial, we will learn about the best practices in JavaScript. We will learn about the coding standards, recommendations, conventions, rules, linting, ESLint, Prettier."
9
9
---
10
10
11
+
import Tabs from '@theme/Tabs';
12
+
import TabItem from '@theme/TabItem';
13
+
11
14
Best Practices in JavaScript are a set of coding standards, recommendations, conventions, and rules that developers should follow while writing JavaScript code. They help in maintaining the code quality, readability, and consistency across the codebase. They also help in avoiding common pitfalls and bugs in the code.
12
15
13
16
There are various tools available for enforcing the best practices in JavaScript such as ESLint, Prettier, etc. These tools help in automatically checking the code against the best practices and providing suggestions or warnings to fix the issues.
Copy file name to clipboardExpand all lines: tutorial/mistakes-js.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,9 @@ tags: [ JavaScript, Mistakes, Common Mistakes in JavaScript, JavaScript Mistakes
7
7
description: "In this tutorial, we will learn about the common mistakes in JavaScript that developers make and how to avoid them. We will learn about the common pitfalls, bugs, and errors in JavaScript code and how to fix them."
8
8
---
9
9
10
+
import Tabs from '@theme/Tabs';
11
+
import TabItem from '@theme/TabItem';
12
+
10
13
JavaScript is a powerful and flexible language, but it is also easy to make mistakes while writing code. In this tutorial, we will learn about the common mistakes in JavaScript that developers make and how to avoid them. By understanding these mistakes and pitfalls, you can write better and more reliable JavaScript code.
description: "In this tutorial, you will learn about modules in JavaScript, a new feature introduced in ES6 (ES2015) that allows you to organize your code into reusable pieces."
68
8
---
69
9
10
+
import Tabs from '@theme/Tabs';
11
+
import TabItem from '@theme/TabItem';
12
+
70
13
In JavaScript, modules are a new feature introduced in <mark>ES6 (ES2015)</mark> that allows you to organize your code into reusable pieces. Modules are a way to split your code into separate files and import/export the parts you need.
71
14
72
15
In this tutorial, you will learn about modules in JavaScript with the help of examples.
description: "In this tutorial, we will learn about performance optimization in JavaScript. We will discuss various techniques and best practices to improve the performance of your JavaScript code and make it run faster."
8
8
---
9
9
10
+
import Tabs from '@theme/Tabs';
11
+
import TabItem from '@theme/TabItem';
12
+
10
13
JavaScript is a powerful and flexible language, but it can also be slow if not optimized properly. In this tutorial, we will learn about performance optimization in JavaScript. By following these techniques and best practices, you can improve the performance of your JavaScript code and make it run faster.
0 commit comments