source: imaps-frontend/node_modules/core-js/modules/web.url.to-json.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 324 bytes
Line 
1'use strict';
2var $ = require('../internals/export');
3var call = require('../internals/function-call');
4
5// `URL.prototype.toJSON` method
6// https://url.spec.whatwg.org/#dom-url-tojson
7$({ target: 'URL', proto: true, enumerable: true }, {
8 toJSON: function toJSON() {
9 return call(URL.prototype.toString, this);
10 }
11});
Note: See TracBrowser for help on using the repository browser.