summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/url/url-tojson.any.js
blob: 65165f96c572d9b01fe6a5e27339882c387260dd (plain)
1
2
3
4
test(() => {
  const a = new URL("https://example.com/")
  assert_equals(JSON.stringify(a), "\"https://example.com/\"")
})