Skip to content
Open
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
14 changes: 14 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//Declaring Variables
var oldWay = true; // Using 'var' allows you to change the value of 'oldWay' to anything, at anytime.
// EXAMPLE
// oldWay = 1; (valid)
// oldWay = 'coding is fun'; (valid)
const canNotChange = true; // ES6 - Once a 'const' is set, it cannot be changed. Best practice to use when a value should never change.
// EXAMPLE
// canNotChange = 1; (NOT VALID)
let canBeUpdated = true; // ES6 - Using 'let' will allow you to change the value anytime you want.
// EXAMPLE
// canBeUpdated = 1; (valid)
// canBeUpdated = 'CodeWorks is awesome'; (valid)


//DataTypes

//Value Types (Primative Types)
Expand Down