Coding task · JavaScript and TypeScript course · Module 5: Advanced JavaScript

Practice: New ES2023/ES2024 Features

Use new ES2023 features (toSorted, toReversed, with) and ES2024 (Object.groupBy) in Jurassic Park.

Task

Group dinosaurs by type, sort by threat level, and replace elements without mutation.