Skip to content

Commit bcdde76

Browse files
committed
Updates
1 parent 7b501ac commit bcdde76

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Table of Contents
66

77
* *[ES6 Interview Questions and Answers](es6-questions.md)*
8-
* *[JavaScript Coding Practice](javascript-programs.md)*
8+
* *[300+ JavaScript Coding Practice Questions](javascript-programs.md)*
99

1010
<br/>
1111

@@ -9060,6 +9060,7 @@ console.log(sum);
90609060
</div>
90619061
90629062
#### Q. ***How to compare two objects in javascript?***
9063+
#### Q. ***What is optional chaining in javascript?***
90639064
90649065
*ToDo*
90659066

javascript-programs.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -300,14 +300,14 @@ if (!regularExpression.test(newPassword)) {
300300
}
301301
```
302302

303-
| RegEx | Description |
304-
| ---------------- | ----------------------------------------------------------------------------------------------------------------------- |
305-
| ^ | The password string will start this way |
306-
| (?=.\*[a-z]) | The string must contain at least 1 lowercase alphabetical character |
307-
| (?=.\*[A-Z]) | The string must contain at least 1 uppercase alphabetical character |
308-
| (?=.\*[0-9]) | The string must contain at least 1 numeric character |
303+
| RegEx | Description |
304+
| ---------------- |--------------|
305+
| ^ | The password string will start this way |
306+
| (?=.\*[a-z]) | The string must contain at least 1 lowercase alphabetical character |
307+
| (?=.\*[A-Z]) | The string must contain at least 1 uppercase alphabetical character |
308+
| (?=.\*[0-9]) | The string must contain at least 1 numeric character |
309309
| (?=.[!@#\$%\^&]) | The string must contain at least one special character, but we are escaping reserved RegEx characters to avoid conflict |
310-
| (?=.{8,}) | The string must be eight characters or longer |
310+
| (?=.{8,}) | The string must be eight characters or longer |
311311

312312
<div align="right">
313313
<b><a href="#">↥ back to top</a></b>

0 commit comments

Comments
 (0)