JSFiddle - React, Tailwind, and code Playground

JavaScript

var Assertion = function() {
    return { "dummy": "data" };    
}

Object.defineProperty(Object.prototype, 'should', {
  set: function(){},
  get: function(){
    return new Assertion(this);
  }
});

Object.defineProperty(Object.prototype, 'should', {});

// This needs to be false
console.log(({}).should === undefined);