was
['07', '08', '09'].map(val => parseInt(val)) // => [7, 8, 9]
Hasn't been an issue in around a decade: https://developer.mozilla.org/en-US/docs/web/javascript/refe...
Plus there's this if you really want to support old browsers: https://github.com/zloirock/core-js/blob/ce52fdc735c5c809c9e...
['07', '08', '09'].map(val => parseInt(val)) // => [7, 0, 0]