Initial base of future polyfill

This is just a base function that doesn't implement any pattern. At this point, not considered a polyfill.