repeatedly converting the input string to lowercase oops, I see that this has already been mentioned
Should be const, not let. Otherwise, I can't fault this.
const
let
Javascript does not guarantee object property order so I don't think this is a reliable solution. See https://stackoverflow.com/a/5525820/2964461
Loading collection data...
repeatedly converting the input string to lowercase
oops, I see that this has already been mentioned
Should be
const
, notlet
. Otherwise, I can't fault this.Javascript does not guarantee object property order so I don't think this is a reliable solution.
See https://stackoverflow.com/a/5525820/2964461