Programming Languages
JavaScript's Array.flat() Is Elegant. But Your Nested Data Might Need Something Meaner.
JavaScript's flat() method looks deceptively simple. But when your data structures get weird—and they will—you need to know what's actually happening under the hood.