Sha256: 02ef62b4de9c4265573a030d9a015989a24637f14f63060f5e9a6f76a80bfb3d

Contents?: true

Size: 324 Bytes

Versions: 4

Compression:

Stored size: 324 Bytes

Contents

'use strict';
var $ = require('../internals/export');
var call = require('../internals/function-call');

// `URL.prototype.toJSON` method
// https://url.spec.whatwg.org/#dom-url-tojson
$({ target: 'URL', proto: true, enumerable: true }, {
  toJSON: function toJSON() {
    return call(URL.prototype.toString, this);
  }
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-0.26.10 packages/webpacker/node_modules/core-js/modules/web.url.to-json.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/modules/web.url.to-json.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/modules/web.url.to-json.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/modules/web.url.to-json.js