Skip to content

Commit

Permalink
Fix typo in test example for .some
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalikoze committed Dec 6, 2023
1 parent 0e9f10c commit 2894890
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Write a function `hasExpensiveProduct(products)` that takes an array of products

```js
console.log(hasExpensiveProduct(products)); // Output: true
console.log(hasExpensiveProduct(products.slice(0, 2))); // Output: false
console.log(hasExpensiveProduct(products.slice(1, 3))); // Output: false
```
</section>

Expand Down

0 comments on commit 2894890

Please sign in to comment.