Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
antydemant committed Apr 25, 2020
1 parent 387c41a commit d18e253
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 00-intro/hello.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
console.log('Hello', process.argv[2]);

5 changes: 4 additions & 1 deletion 01-get-started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,7 @@ All other values are truthy
https://www.sitepoint.com/javascript-truthy-falsy/
Nice to read: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
Nice to read:
https://javascript.info/
https://github.com/denysdovhan/wtfjs
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
11 changes: 9 additions & 2 deletions 01-get-started/homework/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typeof variables

# Create a string variable with quoted text in it.
For example: `'How you doin'?', Joey said'.`

Expand All @@ -14,3 +12,12 @@ For example: `'How you doin'?', Joey said'.`
| 'Infinity' | ? | ? | ? | ? | ? |
| '99999999999999999999' | ? | ? | ? | ? | ? |

# Use all `console` methods

1. console.debug(message)
2. console.info(message)
3. console.log(message)
3. console.warn(message)
4. console.error(message)
5 and so on.

1 change: 1 addition & 0 deletions 01-get-started/int.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ console.log('min precise integer is: ' + minInteger);

let value = 5;
value = 3.14159;
value.
value = new Number(100);
value = value + 1; // 101
let biggestNum = Number.MAX_VALUE;
67 changes: 67 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
// // var number = 123;
// // var number2 = 123.25;
// // console.log(typeof(number));
// //
// //
// // var string = '123';
// // var string1 = "123";
// // var string2 = `123`;
// // console.log(typeof(string));
// //
// // var boolean = true;
// // var boolean2 = false;
// // console.log(typeof(boolean));
// var object = {
// name: "Ihor",
// lastname: "Ostsapchuk",
// age: 123
// };
// // console.log(typeof(object));
// // var symbol = Symbol('name');
// // console.log(typeof(symbol));
// //
// // var undef = undefined;
// // console.log(typeof abc);
// //
// // var nul = null;
// //
// // var arr = [123, 123, 123];
//
// var number1 = null;
// var number2 = undefined;
//
// // console.log(global);

// let arr = [1, 2, 3, 4, 5,'string', true];
// arr.map((item) => {
// console.log(item);
// });



// let arr = [1, 2, 3, 4, 5,'string', true];
// let newArr = arr.map((item) => {
// console.log(item);
// });

//
// var object = {
// name: 'Ihor',
// doSmth: function() {
// var arr = [1 ,2 ,3 ,4];
// arr.forEach((item) => {
// console.log(this.name + ' ' + item);
// });
// }
// };











0 comments on commit d18e253

Please sign in to comment.