Skip to content

Commit 251bfec

Browse files
committed
Changes folder name
1 parent 3f74be2 commit 251bfec

File tree

115 files changed

+990
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+990
-0
lines changed

Basic-JavaScript/.DS_Store

18 KB
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
//This is an inline comment
2+
/*This is a
3+
multi-line comment
4+
*/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
//undefined, null, boolean, string, symbol, bigint, number, and object
2+
//We can declare a variable 3 ways
3+
var myName; // Used throughout the program
4+
let ourName="Sarav"; // Used within the scope
5+
const pi=3.14; // constant cannot change
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Setup
2+
var a;
3+
a=7;
4+
// Only change code below this line
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Setup
2+
var a;
3+
a = 7;
4+
var b;
5+
b=a;
6+
// Only change code below this line
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
var a=9;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Only change code below this line
2+
var a;
3+
var b;
4+
var c;
5+
// Only change code above this line
6+
a=5;
7+
b=10;
8+
c="I am a";
9+
a = a + 1;
10+
b = b + 5;
11+
c = c + " String!";
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Variable declarations
2+
var studlyCapVar;
3+
var properCamelCase;
4+
var titleCaseOver;
5+
6+
// Variable assignments
7+
studlyCapVar = 10;
8+
properCamelCase = "A String";
9+
titleCaseOver = 9000;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
var sum = 10 + 10;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
var difference = 45 - 33;

0 commit comments

Comments
 (0)