scrimba

Watch in fullscreen
index.js
run
preview
console
const myObject = {
property: 'Value!',
otherProperty: 77,
"obnoxious property": function() {
// do stuff!
}
}

// const variable = 'property'
// console.log(myObject.variable);
// console.log(myObject[variable]);
1
2
3
4
5
6
7
8
9
10
11
12
const myObject = {
  property: 'Value!',
  otherProperty: 77,
  "obnoxious property": function() {
    // do stuff!
 }
}
 
// const variable = 'property'
// console.log(myObject.variable);
// console.log(myObject[variable]);
 
No Results

Console
Explorer
project
index.css
index.html
index.js
logo.png
Dependencies
/index.html
-10:23
Download as zip
Copy contextual link

scrimba logo

HomePlans & PricingTeacher talent program

Community

Explore the communityPodcastYouTubeGet Scrimba emails

Courses

All courses Self-paced BootcampFree coursesPro courses

Company

About usSupport centerTermsPrivacy

Built with Imba