Skip to content

Codespace ideal spork 6j7g4r9rvwphxx5j #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"files.autoSave": "afterDelay",
"screencastMode.onlyKeyboardShortcuts": true,
"terminal.integrated.fontSize": 18,
"workbench.activityBar.visible": true,
"workbench.colorTheme": "Visual Studio Dark",
"workbench.fontAliasing": "antialiased",
"workbench.statusBar.visible": true,
Expand Down
10 changes: 9 additions & 1 deletion Ch01/01_04/editors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@ https://code.visualstudio.com/
https://www.sublimetext.com/
http://brackets.io/
https://www.jetbrains.com/phpstorm/
https://www.jetbrains.com/webstorm/
https://www.jetbrains.com/webstorm/

Java free book:
https://eloquentjavascript.net/
https://exploringjs.com
https://github.com/getify/You-Dont-Know-JS
https://developer.mozilla.org
https://caniuse.com
https://quirksmode.org
9 changes: 9 additions & 0 deletions Ch02/02_01/notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
variable:
var x = 25;
var WhereAmI="Austin, Texas"
var variable1=1, variable2=2,..
we can delare more variables in one line
We cannot use reserved words as variable key. search for js reserved words in mozella

Strings:
02_02
1 change: 1 addition & 0 deletions Ch03/03_05/transcript.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ myArray;

var daysOfTheWeek = ["Sunday", "Monday", "Tuesday", "Wednesday"];
daysOfTheWeek;
//the order is preserved for arrays

var myList = [0, 1, 2, "string1", "string2", "string3", true, false];
myList;
Expand Down
2 changes: 2 additions & 0 deletions Ch03/03_06/transcript.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ counties.pop();

delete counties[2];
counties;
//this will not delete the space occupied by counties[2], to delete space use splice.

counties.splice(2, 1);
//2=position of the item to delete, 1= no of items to delete.
counties;
counties.length;

Expand Down
3 changes: 3 additions & 0 deletions Ch03/03_09/transcript.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ regex.test(string3);
regex.test(string4);

regex = /this/i;
//"/i" by adding this, it will ignore letter case

regex = /^this/i;
// this will comes true for all this come at the begining of the line

regex = /this$/i;


regex = /ever.$/i;

regex = /ever\.$/i;
Expand Down
1 change: 1 addition & 0 deletions Ch04/04_01/transcript.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ one === two; // false

one == one; // true
one == "1"; // true (?!)
//== converts the data type
one != "1"; // false (?!)
one === "1"; // false

Expand Down