UNPKG
care-js
Version:
latest (3.3.4)
3.3.4
Standard library
care-js
/
internals
/
descriptors.js
7 lines
(5 loc)
•
214 B
JavaScript
View Raw
1
2
3
4
5
6
7
var
fails =
require
(
'../internals/fails'
);
// Thank's IE8 for his funny defineProperty
module
.
exports
= !
fails
(
function
(
) {
return
Object
.
defineProperty
({},
'a'
, {
get
:
function
(
) {
return
7
; } }).
a
!=
7
; });