👩💻 Join our community of thousands of amazing developers!
JavaScript’s loose nature allows developers to employ amazing tricks to do just about anything you’d like. I’ve detailed how you can filter falsy values in arrays using a filter(Boolean) trick, but reader David Hibshman shared another trick for typecasting array values the same way. To typecast an array of elements, you can use map and […] The post Type Conversion with JavaScript Arrays appeared first on David Walsh Blog. ...