This file contains 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
type Review { | |
""" | |
The business that this review is about | |
""" | |
business: Business | |
} |
This file contains 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
const expr = 'Papayas'; | |
// old way | |
switch (expr) { | |
case 'Oranges': | |
console.log('Oranges are $0.59 a pound.'); | |
break; | |
case 'Apples': | |
console.log('Apples are $0.32 a pound.'); | |
break; |
NewerOlder