Skip to content · ⁨ข้ามไปยังเนื้อหา⁩

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 +.

A template literal: each ${...} is replaced by its value, building one finished string

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP