- 'Undock' the console in separate window
- Press
CTRL
+0
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
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
// Credits: https://twitter.com/builderio/status/1534246051892408320 | |
const rating = stars => '★★★★★☆☆☆☆☆'.slice(5 - stars, 10 - stars); | |
// OR | |
const rating = max => star => "★".repeat(Math.min(star, max)).padEnd(max,"☆"); | |
// It caps the value to max then gets an input number of stars | |
// Examples: |