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
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
| /* Popular Ice Cream Totals Quiz | |
| * | |
| * Using the data array and .reduce(): | |
| * - Return an object where each property is the name of an ice cream flavor | |
| * and each value is an integer that's the total count of that flavor | |
| * - Store the returned data in a new iceCreamTotals variable | |
| * | |
| * Notes: | |
| * - Do not delete the data variable | |
| * - Do not alter any of the data content |
| require 'benchmark' | |
| def is_it_true? | |
| true | |
| end | |
| CONSTANT = 1 | |
| BenchTimes = 1_000_000 | |
| Benchmark.bm(20) do |bm| |