Index Ai Academy
Glossary · Phase 8 · APIs

Template literal

Also written: template literals

A JavaScript string in backticks with ${...} placeholders, like a Python f-string.

Try it now

Read each line as a Python comprehension: which items, then what from each.

Learn it properly

JavaScript for Python programmers · Variables, functions, arrays and objects mapped from Python, and the traps: truthy empty arrays, for...in and string sort. About 30 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write