Created
August 16, 2018 10:47
-
-
Save CodHeK/0e6646c0373efd0054a876cb185c518d to your computer and use it in GitHub Desktop.
const
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
const nums = [10, 20, 30] | |
nums.push(40) | |
console.log(nums) //prints [10, 20, 30, 40] | |
const obj = { | |
age: 27, | |
} | |
obj.age = 30 | |
console.log(obj.age) //prints 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment