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: README.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1296,7 +1296,7 @@ Each proposal for an ECMAScript feature goes through the following maturity stag
1296
1296
**[⬆ Back to Top](#table-of-contents)**
1297
1297
1298
1298
3. ### Object entries
1299
-
The `Object.entries()` method is introduced to returns an array of a given object's own enumerable string-keyed property [key, value] pairsin the same order as `for...in` loop.
1299
+
The `Object.entries()` method is introduced to returns an array of a given object's own enumerable string-keyed property [key, value] pairs in the same order as `for...in` loop.
1300
1300
```js
1301
1301
constcountries= {
1302
1302
IN:'India',
@@ -1591,7 +1591,7 @@ Each proposal for an ECMAScript feature goes through the following maturity stag
1591
1591
1592
1592
2. ### Object fromEntries
1593
1593
1594
-
In JavaScript, it is very commonn to transforming data from one format. ES2017 introduced `Object.entries()` method to objects into arrays.
1594
+
In JavaScript, it is very common to transforming data from one format. ES2017 introduced `Object.entries()` method to objects into arrays.
1595
1595
1596
1596
**Object to Array:**
1597
1597
@@ -1660,7 +1660,7 @@ Each proposal for an ECMAScript feature goes through the following maturity stag
@@ -2004,7 +2004,7 @@ Most of these features already supported by some browsers and try out with babel
2004
2004
```
2005
2005
The above URL can be either URL from which the script was obtained (for external scripts), or the document base URL of the containing document (for inline scripts).
2006
2006
2007
-
**Note:** Remember `import` is not really an object but `import.meta` is provided as an object which is extensible, and its properties are writable, configurable, and enumerable.
2007
+
**Note:** Remember `import` is not really an object but `import.meta` is provided as an object which is extensible, and its properties are writeable, configurable, and enumerable.
2008
2008
2009
2009
9. ### for..in order
2010
2010
@@ -2113,7 +2113,7 @@ Most of these features already supported by some browsers and try out with babel
2113
2113
2114
2114
**Note:** The finalization callback does not run immediately after garbage-collecting the event listener, so don't use it for important logic or metrics.
2115
2115
4. ### Numeric Separators
2116
-
Numeric separators are helpful to read large numbers(or numeric literals) in JavaScript by providing separation between digits using underscores(_). In otherwords, numeric literals are more readable by creating a visual separation between groups of digits.
2116
+
Numeric separators are helpful to read large numbers(or numeric literals) in JavaScript by providing separation between digits using underscores(_). In other words, numeric literals are more readable by creating a visual separation between groups of digits.
2117
2117
2118
2118
For example, one billion and one trillion becomes more readable with _ numeric separator,
2119
2119
@@ -2206,7 +2206,7 @@ Most of these features already supported by some browsers and try out with babel
2206
2206
2207
2207
1. ### Top-level await
2208
2208
2209
-
In ES2022, it is possible to use `await` outside of the asynchronous (async) function scope, which makes it easier to use at the module level. This feaure delays the execution of current and parent modules until the imported module is loaded.
2209
+
In ES2022, it is possible to use `await` outside of the asynchronous (async) function scope, which makes it easier to use at the module level. This feature delays the execution of current and parent modules until the imported module is loaded.
2210
2210
2211
2211
Let's take an example of `await` usage prior to ES2022,
2212
2212
@@ -2219,7 +2219,7 @@ Most of these features already supported by some browsers and try out with babel
2219
2219
}
2220
2220
```
2221
2221
2222
-
The usage of `await` is straightword with ES2022 as below,
2222
+
The usage of `await` is straightforward with ES2022 as below,
2223
2223
2224
2224
```javascript
2225
2225
let posts =awaitposts();
@@ -2472,7 +2472,7 @@ Most of these features already supported by some browsers and try out with babel
This process is going to be simiplified in ES2023 release using **findLast()** and **findLastIndex()** methods.
2475
+
This process is going to be simplified in ES2023 release using **findLast()** and **findLastIndex()** methods.
2476
2476
2477
2477
```javascript
2478
2478
constisOdd= (number) => number %2===1;
@@ -2650,7 +2650,7 @@ Most of these features already supported by some browsers and try out with babel
2650
2650
Well-Formed Unicode Strings feature introduced below two string methods to check and convert into wellformed strings.
2651
2651
2652
2652
1. **String.prototype.isWellFormed:**
2653
-
This method is used to check if the string contains lone surrogates or not. Returns `true`, if unicode string is not present. The following stings can be verified either as well-formed or not well-formed strigns,
2653
+
This method is used to check if the string contains lone surrogates or not. Returns `true`, if unicode string is not present. The following stings can be verified either as well-formed or not well-formed strings,
0 commit comments