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