This file contains hidden or 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
class Pets { | |
private name: string | |
private age: number | |
private sound: string | |
private type: string | |
constructor(name: string, age: number, sound: string = 'wow', type: string) { | |
this.name = name; | |
this.age = age; | |
this.sound = sound; |
This file contains hidden or 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
// Export from your streaming service like Spotify, YT music, etc. | |
const artistsByGenre = { | |
jazz: ['Miles Davis', 'John Coltrane'], | |
rock: { | |
classic: ['Bob Seger', 'The Eagles'], | |
hair: ['Def Leppard', 'Whitesnake', 'Poison'], | |
alt: { | |
classic: ['Pearl Jam', 'The Killers'], | |
current: ['Joywave', 'Sir Sly'] | |
} |
This file contains hidden or 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
{ | |
"key1": "value1", | |
"key2": "value2" | |
} |