Created
April 9, 2021 00:55
-
-
Save Hurly77/1cb974919db898b9e7cb33a7485f9806 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//if we declare a variable | |
const myString = "My sting says Hello"// Here we are telling the browser "allocate memory for a string" | |
const num = 1000 //again were telling the heap to allocate memory for this variable that is an integer | |
// lets switch things up a bit, if i open an object literal like so: | |
const Cameron = { | |
firstName: 'cameron', | |
lastName: 'Leverett', | |
} | |
// This mean I want to allocate memory for an object and have it point the the follwoing keys wich point the the following values. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment