Last active
January 15, 2020 21:27
-
-
Save Paul-Browne/aa59066ad8198bde33c4fa2949f75089 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
var array = ["Monday", "Tuesday", "Wednesday"]; | |
array.name = "Paul"; | |
array.age = 35; | |
console.log(array); | |
// ["Monday", "Tuesday", "Wednesday", name: "Paul", age: 35] | |
console.log(array.length); | |
// 3 | |
console.log(array.name); | |
// Paul |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment