I worked on a side project to create a web based indexing protocol for smart contracts and during r&d found so many great projects trying to build a similar solution to the graph.
While one-liners aren't always the most readable, they can be useful for solving small problems elegantly and tersely. What are some of your favourite #JavaScript one-liners?
JavaScript one-liners are short, clever pieces of code that pack a lot of functionality into a single line. They demonstrate the power and expressiveness of the language. Here are 8 of my favourite JavaScript one-liners: