Index
Symbols
- !! for values in if statement, Do-Nothing Code
- () (parentheses), captures in regular expressions, Regex Basics for Handling Strings
- + (plus sign), addition and string concatenation, Avoiding destructive functions
- ; (semicolon), in JavaScript code, Getting New Objects with Constructor Functions
- === (equality) operator, New Code from Scratch with TDD
- => (arrow function), Better Than Loops
- passing this through, Bringing classify into the classifier
- replacing all functions used with forEach, map, reduce, and filter, Shorthand Syntax: Arrow, Object Function, and Object
- ? : (ternary syntax), Avoiding reassignment in conditional bodies
- \ (escape character), breaking strings with, Solution 3
- \n (new line character), Solution 4
- _ (underscore), prepended to private functions and variables, Context Part 2: Privacy, Time for a Little Privacy?
- ` (backticks), using with strings, Concatenating, Magic, and Template Strings
- {} (curly braces)
- creating object literals, this in Strict Mode
- using block on right side of assignment statements, Constructor Functions Versus Factory Functions
- with arrow function syntax, Shorthand Syntax: Arrow, Object Function, and Object
A
- abstract data types (ADTs), Burritos
- abstract syntax tree (AST), Referential Transparency and Avoiding State
- abstraction, What Is Quality and How Does It Relate to Refactoring?, Adapting the Classifier to a New Problem Domain
- density and, Bringing classify into the classifier
- acceptance testing, Approval Tests
- actual parameters, Inputs
- ad hoc approval ...
Get Refactoring JavaScript 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.