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
// arr1 | |
var a = [34, 35, 45, 48, 49]; | |
// arr2 | |
var b = [48, 55]; | |
// spread a, spread b | |
// into Set obj (unique) | |
// sreapd again, inject to arr | |
var union = [...new Set([...a, ...b])]; | |
console.log(union); |
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
dashboard "Food": | |
- h1 text: yo h1 | |
- h2 text: yo h2 | |
- 3 columns: | |
- rows: | |
- h3 text: Bananas | |
- pie chart: { | |
"columns": [ | |
["Protein", 5], ["Sugar", 10], ["Other carbs", 40], ["Fat", 1] | |
] |