mirror of
https://github.com/rjNemo/federation
synced 2026-06-09 11:36:39 +00:00
10 lines
273 B
JavaScript
10 lines
273 B
JavaScript
'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);
|
|
}
|
|
});
|