Skip to content
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

The use of callback functions is deprecated in MongoDB V. 7.0 #22

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
e4a7b04
Delete unit_0 directory
usapokemon Mar 26, 2024
f69edf9
Delete unit_1 directory
usapokemon Mar 26, 2024
1b6a289
Add files via upload
usapokemon Mar 26, 2024
ff5c54e
Add files via upload
usapokemon Mar 26, 2024
b15e7d2
Delete lesson_7_capstone directory
usapokemon Mar 26, 2024
c43ccb7
Add files via upload
usapokemon Mar 26, 2024
3320b2c
Delete unit_2 directory
usapokemon Mar 26, 2024
b01e789
Delete unit_3 directory
usapokemon Mar 26, 2024
bca11dd
Delete unit_4 directory
usapokemon Mar 26, 2024
10ddae5
Add files via upload
usapokemon Mar 26, 2024
ae268d8
Delete Unit_2 directory
usapokemon Mar 26, 2024
738438a
Delete lesson_3 directory
usapokemon Mar 26, 2024
6ae57b5
Delete lesson_4 directory
usapokemon Mar 26, 2024
10c16f5
Delete lesson_5 directory
usapokemon Mar 26, 2024
6a35073
Delete lesson_6 directory
usapokemon Mar 26, 2024
314483d
Delete lesson_7_capstone directory
usapokemon Mar 26, 2024
1d0d8f7
Add files via upload
usapokemon Mar 26, 2024
8f79057
Add files via upload
usapokemon Mar 26, 2024
69326cd
Add files via upload
usapokemon Mar 26, 2024
1ccdbf0
Add files via upload
usapokemon Mar 26, 2024
74feea6
Add files via upload
usapokemon Mar 26, 2024
d7beddd
Add files via upload
usapokemon Mar 26, 2024
16c9fa5
Add files via upload
usapokemon Mar 26, 2024
6a626b4
Add files via upload
usapokemon Mar 26, 2024
98e9e52
Delete Unit_4_B directory
usapokemon Mar 26, 2024
18e98ac
Delete Unit_4_A directory
usapokemon Mar 26, 2024
dea4dec
Add files via upload
usapokemon Mar 26, 2024
d7340b0
Add files via upload
usapokemon Mar 26, 2024
7f5a021
Add files via upload
usapokemon Mar 26, 2024
74587f4
Add files via upload
usapokemon Mar 26, 2024
dd4cf18
Add files via upload
usapokemon Mar 26, 2024
fec1005
Add files via upload
usapokemon Mar 26, 2024
940c60f
Add files via upload
usapokemon Mar 26, 2024
f3f6fbb
Delete lesson_17 directory
usapokemon Mar 26, 2024
359a59d
Update readme.md
usapokemon Mar 26, 2024
fb35d39
Update readme.md
usapokemon Mar 26, 2024
8785ab6
Update readme.md
usapokemon Mar 26, 2024
1ecd4ae
Update readme.md
usapokemon Mar 26, 2024
85a2708
Update readme.md
usapokemon Mar 26, 2024
6211088
Update main.js
usapokemon Mar 26, 2024
f4dc256
Update main.js
usapokemon Mar 26, 2024
8b83b4f
Update main.js
usapokemon Mar 26, 2024
8fd1819
Update readme.md
usapokemon Mar 26, 2024
2ab0e35
Update readme.md
usapokemon Mar 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions Unit_0/lesson_1/0-server/javascript1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(function foo() { console.log('foo was executed!');
})();
16 changes: 16 additions & 0 deletions Unit_0/lesson_1/0-server/javascript2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
var foo = 123;
if (true) {
(function() { // create a new scope with var
var foo = 456;
})();
}
console.log(foo); // 123;
/*
var foo = 123;
if (true) {
(function () { // create a new scope
var foo = 456;
})();
}
console.log(foo); // 123;
*/
36 changes: 36 additions & 0 deletions Unit_0/lesson_1/0-server/javascript4.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
'use strict'

var users = [
{
name: "John Wayne",
gender: "male"
},
{
name: "Mary Monro",
gender: "female"
},
{
name: "Charles Bronson",
gender: "male"
}
];

const showUsers = () => {
users.forEach (user => {
console.log(`user name is ${user.name}`);
});
};

const addUsers = (name, gender ) => {
console.log("in addUser");
var newuserName = name;
console.log("name " + newuserName);
var newuserGender = gender;

users.push({name: newuserName, gender: newuserGender});

};
showUsers();
addUsers( "John Doe", "male");
showUsers();

Loading