IntScription()

Devlog - 2025εΉ΄11月12ζ—₯

πŸš€ What I Did

🧠 What I Learned

Objects in JS

const exampleObject = {
 propertyName: value;
}
// bracket notation
const person = {
 name: "Alice",
 age: 30,
 city: "New York"
};
console.log(person["name"]); // Alice
console.log(person["age"]); // 30

JSON

{
 "name": "Alice",
 "age": 30,
 "isStudent": false,
 "list of courses": ["Mathematics", "Physics", "Computer Science"]
}
const developerObj = {
 firstName: "Jessica",
 isAwesome: true,
 isMusician: true,
 country: "USA",
};
// result: {"firstName":"Jessica","country":"USA"}
console.log(JSON.stringify(developerObj, ["firstName", "country"]));
const jsonString = '{"name":"John","age":30,"isAdmin":true}';
const userObject = JSON.parse(jsonString);
console.log(userObject);
// Result:
// { name: 'John', age: 30, isAdmin: true }

πŸ”₯ What’s Next


← Back to Home | Back to Archive

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /