completed exercise 3.1
This commit is contained in:
parent
68aa0e9905
commit
0bd43956c9
604 changed files with 67855 additions and 0 deletions
14
parts/3/phonebookBackend/node_modules/es-define-property/index.js
generated
vendored
Normal file
14
parts/3/phonebookBackend/node_modules/es-define-property/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
'use strict';
|
||||
|
||||
/** @type {import('.')} */
|
||||
var $defineProperty = Object.defineProperty || false;
|
||||
if ($defineProperty) {
|
||||
try {
|
||||
$defineProperty({}, 'a', { value: 1 });
|
||||
} catch (e) {
|
||||
// IE 8 has a broken defineProperty
|
||||
$defineProperty = false;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = $defineProperty;
|
||||
Loading…
Add table
Add a link
Reference in a new issue