function displayBufferContents(buf) { const byteString = Array.from(new Uint8Array(buf.buffer),...
x => Object.assign(document.createElement('div'), { textContent: x }).innerHTML Enter...
const praiseBeToCthulhu = (len) => { const obj = { a: '"' } obj.b = '' const...
To celebrate the long-overdue death of Internet Explorer, I'm writing a series of articles on a...
This is a response to a couple of comments in the discussion below this article: ...
This is a response to @antoomartini 's awesome article here, where she describes 4 ways to turn a...
Inspired by @fjones 's comment on this article: Include HTML...
Text art, often called "ASCII art", is a way of displaying images in a text-only medium. You've...
On Rotten Tomatoes, a film can be rated either "fresh" or "rotten". Here's how to build a star rating...
Sometimes on dev.to, you might come across an article that uses some interesting markdown or liquid...
Perhaps the most famous of all coding interview questions is FizzBuzz. For the uninitiated, the algor...
[...'!dlrow ,olleH'].slice(1).reverse().join('') Enter fullscreen mode Exit fulls...
Gravatar, or Globally Recognized Avatar, is a free service from WordPress that allows users to associ...
Regexes in JavaScript are a fantastic tool for matching text, manipulating strings, performing valida...