May 2018
Intermediate to advanced
376 pages
9h 22m
English
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 ...
Read now
Unlock full access