sumn2u / learn-javascript

A book that teaches JavaScript 📗💻📖
https://javascript.sumankunwar.com.np
Apache License 2.0
922 stars 147 forks source link

Translation needed for existing languages #201

Open github-actions[bot] opened 1 year ago

github-actions[bot] commented 1 year ago

@sumn2u has made changes on the original english version of the book (PR #200)

Visual Diff of Changes:

diff --git a/en/Contributions.md b/en/Credits.md
similarity index 100%
rename from en/Contributions.md
rename to en/Credits.md
diff --git a/en/Preface.md b/en/Preface.md
index 3f4cb9c..6a5faf3 100644
--- a/en/Preface.md
+++ b/en/Preface.md
@@ -11,7 +11,9 @@ The book begins by covering the fundamental aspects of JavaScript, gradually pro

 A standout feature of "Learn JavaScript" is its practical approach. The book offers hands-on exercises, coding challenges, and real-world problems that allow readers to apply their knowledge and develop essential skills. By engaging with tangible examples, readers gain the confidence to tackle common web development problems and unlock JavaScript's potential for innovative solutions.

-Complex ideas such as closures and asynchronous programming are demystified through intuitive explanations and practical examples. The emphasis on clarity and simplicity enables learners of all levels to grasp and retain the key concepts effectively. The book is structured into three parts, with the first 14 chapters delving into the core concepts. The subsequent four chapters elaborate on the utilization of JavaScript for web browser programming, while the final two chapters cover miscellaneous subjects and offer exercises. The Miscellaneous section explores significant themes and scenarios pertaining to JavaScript programming, followed by exercises for practice.
+Complex ideas such as closures and asynchronous programming are demystified through intuitive explanations and practical examples. The emphasis on clarity and simplicity enables learners of all levels to grasp and retain the key concepts effectively. The book is structured into three parts, with the first 14 chapters delving into the core concepts. The subsequent four chapters elaborate on the utilization of JavaScript for web browser programming, followed by miscellaneous, server side and exercises. The Miscellaneous section explores significant themes and scenarios pertaining to JavaScript programming, followed by exercises for practice.
+
+The course covers bonus topics such as interview questions, design patterns, file system concepts, and ES6 to provide a comprehensive understanding of the language. The focus is on writing efficient, maintainable code, which is valuable for job seekers and personal projects.

 In conclusion, "Learn JavaScript: Beginner's Edition" is an essential companion for those seeking to master JavaScript and excel in web development. With its comprehensive coverage, practical approach, clear explanations, real-world application focus, and commitment to ongoing learning, this book serves as a valuable resource. By immersing themselves in its content, readers will gain the skills and knowledge necessary to build dynamic and interactive web applications, unlocking their full potential as JavaScript developers.
diff --git a/en/SUMMARY.md b/en/SUMMARY.md
index 3671ea5..9792147 100644
--- a/en/SUMMARY.md
+++ b/en/SUMMARY.md
@@ -122,4 +122,4 @@
   - [Template literals](es6-concepts/template-literals.md)
 - [References](References.md)
 - [Resources](resources.md)
-- [Contributors](Contributions.md)
+- [Credits](Credits.md)
diff --git a/en/arrays/README.md b/en/arrays/README.md
index 9b7922a..ee08a3b 100644
--- a/en/arrays/README.md
+++ b/en/arrays/README.md
@@ -1,7 +1,7 @@
 ---
 layout: editorial
 chapter: 6
-pageNumber: 46
+pageNumber: 47
 description: Array is a  list of data and are fundamental part of programming. Here, we can store a lot of data of different types.
 ---

diff --git a/en/design-patterns/README.md b/en/design-patterns/README.md
index 604318f..d0ae1e6 100644
--- a/en/design-patterns/README.md
+++ b/en/design-patterns/README.md
@@ -2,7 +2,7 @@
 layout: editorial
 chapter: 23

-pageNumber: 191
+pageNumber: 195
 description: Design Patterns
 ---
 # Chapter 23
diff --git a/en/design-patterns/behavioral-patterns.md b/en/design-patterns/behavioral-patterns.md
index 574198c..13ab897 100644
--- a/en/design-patterns/behavioral-patterns.md
+++ b/en/design-patterns/behavioral-patterns.md
@@ -3,7 +3,7 @@ layout: editorial
 title: Behavioral Design Patterns in Javascript
 description: Focus on how objects communicate with each other and assigning responsibilities to them.
 chapter: 23
-pageNumber: 215
+pageNumber: 219
 ---

 # Behavioral Design Patterns
diff --git a/en/design-patterns/creational-patterns.md b/en/design-patterns/creational-patterns.md
index 87084b8..74ef022 100644
--- a/en/design-patterns/creational-patterns.md
+++ b/en/design-patterns/creational-patterns.md
@@ -3,7 +3,7 @@ layout: editorial
 title: Creational Design Patterns in Javascript
 description: Creational design patterns focus on object creation mechanisms
 chapter: 23
-pageNumber: 192
+pageNumber: 196
 ---

 # Creational Design Patterns
diff --git a/en/design-patterns/structural-patterns.md b/en/design-patterns/structural-patterns.md
index 3d577ec..e29bf7f 100644
--- a/en/design-patterns/structural-patterns.md
+++ b/en/design-patterns/structural-patterns.md
@@ -3,7 +3,7 @@ layout: editorial
 title: Structural Design Patterns in Javascript
 description: Focus on how classes and objects are composed to form larger structures
 chapter: 23
-pageNumber: 201
+pageNumber: 205
 ---

 # Structural Design Patterns 
diff --git a/en/es6-concepts/README.md b/en/es6-concepts/README.md
index bd94a76..e45f60d 100644
--- a/en/es6-concepts/README.md
+++ b/en/es6-concepts/README.md
@@ -1,13 +1,12 @@
 ---
 layout: editorial
 chapter: 25
-pageNumber: 240
+pageNumber: 244
 description: Classes are templates for creating an object. It encapsulates data with code to work on with data. The keyword class is used to create a class. 
 ---

 # Chapter 25
-# File system

 ## Overview of ES6 (ECMAScript 2015)
diff --git a/en/es6-concepts/arrow-functions.md b/en/es6-concepts/arrow-functions.md
index 00ca9d3..7142a77 100644
--- a/en/es6-concepts/arrow-functions.md
+++ b/en/es6-concepts/arrow-functions.md
@@ -1,6 +1,6 @@
 ---
 chapter: 25
-pageNumber: 244
+pageNumber: 248
 description:  Arrow functions, introduced in ES6, provide a concise syntax for defining functions in JavaScript. They are ideal for short, single-expression functions and offer simplicity and clarity, often used for iterating over arrays and defining compact callback functions. Arrow functions are known for their efficiency and readability.

 ---
diff --git a/en/es6-concepts/destructuring.md b/en/es6-concepts/destructuring.md
index 5a72a8a..4fa1f2f 100644
--- a/en/es6-concepts/destructuring.md
+++ b/en/es6-concepts/destructuring.md
@@ -1,6 +1,6 @@
 ---
 chapter: 25
-pageNumber: 248
+pageNumber: 250
 description: Destructuring, an ES6 feature, streamlines data extraction from arrays and objects. It simplifies the process by allowing you to assign specific values or properties directly to variables, enhancing code clarity and efficiency. Destructuring is an essential tool for working with complex data structures in JavaScript.

 ---
diff --git a/en/es6-concepts/let-const.md b/en/es6-concepts/let-const.md
index bd8248b..6eeba85 100644
--- a/en/es6-concepts/let-const.md
+++ b/en/es6-concepts/let-const.md
@@ -1,6 +1,6 @@
 ---
 chapter: 25
-pageNumber: 241
+pageNumber: 245
 description: Certainly! Let's discuss the `let` and `const` declarations in the context of ES6 (ECMAScript 2015) and compare them to their ES5 counterparts.
 ---

diff --git a/en/es6-concepts/map.md b/en/es6-concepts/map.md
index 0dbcf15..1d71cf6 100644
--- a/en/es6-concepts/map.md
+++ b/en/es6-concepts/map.md
@@ -1,6 +1,6 @@
 ---
 chapter: 25
-pageNumber: 243
+pageNumber: 247
 description: Certainly! Let's discuss the `let` and `const` declarations in the context of ES6 (ECMAScript 2015) and compare them to their ES5 counterparts.
 ---

diff --git a/en/es6-concepts/template-literals.md b/en/es6-concepts/template-literals.md
index 712d975..2f9c60e 100644
--- a/en/es6-concepts/template-literals.md
+++ b/en/es6-concepts/template-literals.md
@@ -1,6 +1,6 @@
 ---
 chapter: 25
-pageNumber: 247
+pageNumber: 251
 description: Template literals, introduced in ES6 (ECMAScript 2015), offer a powerful way to create dynamic strings in JavaScript. They allow you to embed expressions directly within strings, making your code more readable and expressive. Template literals are commonly used for generating dynamic content, such as HTML, and for simplifying string manipulation in JavaScript.
 ---

diff --git a/en/file-system/README.md b/en/file-system/README.md
index b2f965d..c8e3332 100644
--- a/en/file-system/README.md
+++ b/en/file-system/README.md
@@ -1,6 +1,6 @@
 ---
 chapter: 24
-pageNumber: 238
+pageNumber: 242
 description:
 ---

diff --git a/en/interview-questions/basic-level.md b/en/interview-questions/basic-level.md
index a615ec6..3090cd3 100644
--- a/en/interview-questions/basic-level.md
+++ b/en/interview-questions/basic-level.md
@@ -42,8 +42,12 @@ You can declare a variable using `var`, `let`, or `const`:
 **Answer:**
 JavaScript is a dynamically typed language. In a dynamically typed language, the type of a variable is checked during run-time in contrast to a statically typed language, where the type of a variable is checked during compile-time.

-<!-- img from here "interview bit" -->
-<img src="https://d3n0h9tb65y8q.cloudfront.net/public_assets/assets/000/003/407/original/static_vs_dynamic.png?1654852333" alt="static_vs_dynamic" />
+| Feature | Static Typing | Dynamic Typing |
+|---|---|---|
+| Variables have types | Yes | No |
+| Values have types | Yes | Yes |
+| Variables can change type | No | Yes |
+| Variables can change type dramatically | No | Yes |

 Since javascript is a _loosely(dynamically)_ typed language, variables in JS are not associated with any type. A variable can hold the value of any data type.

diff --git a/en/strings/charAt.md b/en/strings/charAt.md
index 3fb361d..9c33c2b 100644
--- a/en/strings/charAt.md
+++ b/en/strings/charAt.md
@@ -1,6 +1,6 @@
 ---
 chapter: 4
-pageNumber: 31
+pageNumber: 37
 ---
 # CharAt

diff --git a/en/strings/substring.md b/en/strings/substring.md
index c149098..ba9fcb1 100644
--- a/en/strings/substring.md
+++ b/en/strings/substring.md
@@ -1,6 +1,6 @@
 ---
 chapter: 4
-pageNumber: 32
+pageNumber: 38
 ---
 # Substring