Skip to content · ⁨コンテンツへスキップ⁩
English

A cleaner way to build strings

  • Wrap a string in backticks ` and you can drop values straight in with ${...}.
  • This is a template literal — much tidier than joining with lots of +.

日本語

文字列作成のより良い方法

  • 文字列をバックティック`で囲むことで、${...}を使って値をそのまま埋め込めます。
  • これはテンプレートリテラルであり、多くの+でつなぐよりもずっと整理されています。

テンプレートリテラル: ${...}はそれぞれの値に置き換わり、完成した一つの文字列が構築される

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP