source:
imaps-frontend/node_modules/core-js/internals/delete-property-or-throw.js
Last change on this file was 79a0317, checked in by , 2 weeks ago | |
---|---|
|
|
File size: 251 bytes |
Line | |
---|---|
1 | 'use strict'; |
2 | var tryToString = require('../internals/try-to-string'); |
3 | |
4 | var $TypeError = TypeError; |
5 | |
6 | module.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.