Skip to content

Commit c080ece

Browse files
committed
experiment.js enhancement
1 parent e86c2ee commit c080ece

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • Week2/prep-exercises/2-experiments

Week2/prep-exercises/2-experiments/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,9 @@ function main() {
4747
const sampleSizes = [100, 1000, 1000000];
4848

4949
for (let sizeElement of sampleSizes) {
50-
console.log(`[${runExperiment(sizeElement)}] ${sizeElement}`);
50+
console.log(runExperiment(sizeElement), sizeElement);
5151
}
5252

53-
54-
5553
// TODO
5654
// Write a for..of loop that calls the `runExperiment()` function for each
5755
// value of the `sampleSizes` array.

0 commit comments

Comments
 (0)