Object.defineProperty based library extending native types