JSFiddle - React, Tailwind, and code Playground

JavaScript

String.prototype.doNothing = function() {
  return this;
};

alert(typeof 'foo'.doNothing())
alert(typeof 'foo')