Find the Git commit that introduced a bug
Manually or automatically find which commit in history introduced a bug using.
Browse snippets by collection or check out our top picks and latest articles below.
Manually or automatically find which commit in history introduced a bug using.
Learn how to merge two arrays of objects, while combining objects based on a specified key.
Check the properties of an object against an array of keys or another object to ensure they match.
Use a regular expression to check if a string contains only alpha or alphanumeric characters in JavaScript.
Compare two objects to determine if the first one contains equivalent property values to the second one.
Create an array of partial sums, using Array.prototype.reduce()
and Array.prototype.slice()
.
A linked list is a linear data structure where each element points to the next.
Discover the inner workings of JavaScript arrays and learn about the different ways to initialize them.
Calculate a SHA-256 hash in JavaScript using native APIs in both the browser and Node.js.
The Event Loop is a source of confusion for many developers, but it's a fundamental piece of the JavaScript engine.
Learn how you can leverage the Proxy object to use a JavaScript object the same way as you would use a regular array.
Circular progress bars are fairly common in the web. Luckily, some new CSS features make it easier than ever to create them.