Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
438 B
11 lines
438 B
1 year ago
|
var DESCRIPTORS = require('../internals/descriptors');
|
||
|
var definePropertyModule = require('../internals/object-define-property');
|
||
|
var createPropertyDescriptor = require('../internals/create-property-descriptor');
|
||
|
|
||
|
module.exports = DESCRIPTORS ? function (object, key, value) {
|
||
|
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
|
||
|
} : function (object, key, value) {
|
||
|
object[key] = value;
|
||
|
return object;
|
||
|
};
|