source: node_modules/core-js-pure/internals/delete-property-or-throw.js@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 251 bytes
Line 
1'use strict';
2var tryToString = require('../internals/try-to-string');
3
4var $TypeError = TypeError;
5
6module.exports = function (O, P) {
7 if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));
8};
Note: See TracBrowser for help on using the repository browser.