aboutsummaryrefslogtreecommitdiffstats
path: root/library/moment/src/lib/utils/has-own-prop.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/moment/src/lib/utils/has-own-prop.js')
-rw-r--r--library/moment/src/lib/utils/has-own-prop.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/moment/src/lib/utils/has-own-prop.js b/library/moment/src/lib/utils/has-own-prop.js
new file mode 100644
index 000000000..4d2403ccb
--- /dev/null
+++ b/library/moment/src/lib/utils/has-own-prop.js
@@ -0,0 +1,3 @@
+export default function hasOwnProp(a, b) {
+ return Object.prototype.hasOwnProperty.call(a, b);
+}