Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 298 Bytes

37-objects-in-object.md

File metadata and controls

13 lines (13 loc) · 298 Bytes

Obiekty w obiektach

let author = { name: 'Mario Puzo', books: { godfather1: 'The Godfather, part 1', godfather2: 'The Godfather, part 2', godfather3: 'The Godfather, part 3' } } Aby dostać się do wartości:

author.books.godfather2; // The Godfather, part 2