object 3

Section 9: Objects - A Closer Look - Beyond the Basics

The goals 💪🏻What are Objects ✌🏻Objects in JavaScript 👍🏻Adding a Method to Objects 객체 & 원시 값 객체는 참조 값이라는 점은 이미 배우셨습니다. 아직 명확하지 않을 수도 있지만, 객체가 원시 값으로 구성된다는 점을 이해하는 것이 중요합니다. 다음은 예시입니다. const complexPerson = { name: 'Max', hobbies: ['Sports', 'Cooking'], address: { street: 'Some Street 5', stateId: 5, country: 'Germany', phone: { number: 12 345 678 9, isMobile: true } }, }; complexPerson 에 여러 개의 중첩..

Section 8: Arrays & Iterables - Lists of Data

The goals 💪🏻Different Ways of Creating Arrays ✌🏻Working with Arrays = A Deep Dive! 👍🏻Important Array Methods 👏🏻Other Iterables: Maps & Sets const numbers = [1, 2, 3]; console.log(numbers); const moreNumbers = new Array(5); console.log(moreNumbers); v With this 'new' it can have another characteristic as we can see above. And we can create an array without 'new' keyword, but still it works the sa..

Section 11: JavaScript: The Basics - Adding Interactivity To Websites

The goals 💪🏻What & Why? ✌🏻Core JavaScript Syntax 👍🏻Examples! What is JavaScript? A programming language that can be executed by browsers. The only programming language browsers can execute! HTML: Define structure and semantics CSS: Style the elements and page content JavaScript: Change the page dynamically (without loading a different HTML file), do "behind the scenes" calculations and work & mu..