Skip to content
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
2 changes: 2 additions & 0 deletions 01week/HelloWorld.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict'
console.log('Hello World')
25 changes: 25 additions & 0 deletions 01week/dataTypes1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
'use strict'
let now = new Date();
console.log('Date and Time',now);
const theNumber = 5;
const theString = theNumber.toString();
const theOtherString = parseInt(theNumber);
console.log (theString, theOtherString);
console.log (typeof 45);
let AddNum = (a,b) => {
return a+=b;
}
console.log(AddNum(3,9))
const balance = 500;
const jeans = 40;
const shorts = 30;

if (jeans <= balance && shorts <= balance) {
console.log("You have enough money to purchase the items!");
}
if (jeans <= balance || shorts >= balance) {
console.log("You have enough money to purchase the shorts or the jeans! ");
}
if (jeans != balance && shorts != balance) {
console.log("This is a statement!");
}
34 changes: 34 additions & 0 deletions 01week/datatypes.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
'use strict'
<<<<<<< HEAD
let now = new Date();
console.log('Date and Time',now);
const theNumber = 5;
const theString = theNumber.toString();
const theOtherString = parseInt(theNumber);
console.log (theString, theOtherString);
console.log (typeof 45);
let AddNum = (a,b) => {
return a+=b;
}
console.log(AddNum(3,9))
const balance = 500;
const jeans = 40;
const shorts = 30;

if (jeans <= balance && shorts <= balance) {
console.log("You have enough money to purchase the items!");
}
if (jeans <= balance || shorts >= balance) {
console.log("You have enough money to purchase the shorts or the jeans! ");
}
if (jeans != balance && shorts != balance) {
console.log("This is a statement!");
}
=======
let now = new Date ();
console.log ('date and time', now)
const theNumber = 5;
const theString = theNumber.toString();
const theOtherString = parseInt(theNumber);
console.log ('string', theString, 'number', theOtherString)
>>>>>>> 134ad09047ca1f5b1b2726449f024a5cad50b0dd
File renamed without changes.