A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/ja/docs/Web/API/URL/toString below:

URL: toString() メソッド - Web API

URL: toString() メソッド

Baseline Widely available

URL.toString() は文字列化メソッドで、URL 全体が入った文字列を返します。 これは事実上、URL.href の読み取り専用バージョンです。

メモ: この機能はウェブワーカー内で利用可能です。

構文 引数

なし。

返値

文字列です。

例
const url = new URL(
  "https://developer.mozilla.org/ja/docs/Web/API/URL/toString",
);
url.toString(); // URL を文字列として返します
仕様書 ブラウザーの互換性 関連情報

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4