Skip to main content
100%

My assessement for underbar part 2

✓ Published0🌍 Public
Aaajungroth
Last edited May 2, 2017
Created on May 2, 2017

This example demonstrates the transformation of a sales team dataset, showing how names are capitalized and sales figures are averaged and compared. The code uses vanilla JavaScript array methods like `forEach` and `reduce`, along with `JSON.stringify` for assertions, to process the data. It calculates the average team sales rounded up and identifies the highest earner by parsing currency strings with `parseInt`. The visualization relies on console output for testing results, with no external rendering libraries.

AI-generated description

Similar vizzes