This method changes the original array. It is not a pure function. Note: When an array grows too large, JavaScript must allocate a bigger memory block and copy everything over. This costs performance.
The most common ones: - Using sort () without a compare function (numbers sort as strings) - Confusing slice () with splice () (one copies, the other mutates) - Forgetting which methods change the ...
I'd love to learn GraphQL, but it seems that I first have to read a book about GraphQL Types and Queries, then install a gazillion npm packages. About every developer Start playing with GraphQL right ...
CLI also supports multi file paths or glob - so you can give it a bunch of package.json file(s) to sort.