paulirish / lh-scorecalc

Lighthouse perf score calculator - explaining how the perf score is composed
https://googlechrome.github.io/lighthouse/scorecalc/
95 stars 16 forks source link

initalize with mobile medians #33

Closed paulirish closed 3 years ago

paulirish commented 3 years ago

params.get('key_not_in_params') returns a null, not undefined, so this wasn't working as we expected it to.

fixed and added a few more comments.

intended behavior: if you load the scorecalc with nothing in the URL, you'll see a 50 perf score and each metric has a metric score of 50. nice for playing around.