.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / modules / web.url.to-json.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/web.url.to-json.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/web.url.to-json.js
new file mode 100644 (file)
index 0000000..7e38169
--- /dev/null
@@ -0,0 +1,10 @@
+'use strict';
+var $ = require('../internals/export');
+
+// `URL.prototype.toJSON` method
+// https://url.spec.whatwg.org/#dom-url-tojson
+$({ target: 'URL', proto: true, enumerable: true }, {
+  toJSON: function toJSON() {
+    return URL.prototype.toString.call(this);
+  }
+});