Last active
June 18, 2020 05:03
-
-
Save geomago/c8e05e48277997c907f357bcb35c1ac9 to your computer and use it in GitHub Desktop.
find_car_es6
This file contains hidden or 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
let car = cars.reduce( (prev, current) => prev.price<current.price ? current:prev, {price:0}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment