List of Listings
Lesson 2. Transpiling with Babel
Lesson 4. Declaring variables with let
Listing 4.1. Using a free-standing block to keep a variable private
Lesson 8. Capstone: Building a domain-specific language
Listing 8.1. Abstracting the process of collecting interpolated values
Listing 8.2. Abstracting of interlacing strings and interpolated values
Listing 8.3. Processing a template literal
Listing 8.4. A simple HTML-escaping function
Listing 8.5. Your tagging function, htmlSafe
Listing 8.6. Basic HTML-escaping DSL in action
Listing 8.7. DSL interpolatating an array of values, not just ...
Get Get Programming with JavaScript Next now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.