Validating regular expression
Although there was an early attempt to reconcile ECMAScript 3.1 and ECMAScript 4, this ultimately failed as the two camps had difficulty with the very different perspectives on how the language should grow.In 2008, Brendan Eich, the creator of Java Script, announced that TC-39 would focus its efforts on standardizing ECMAScript 3.1.While a deep understanding of the language isn’t necessary to use this book, it will help you understand the differences between ECMAScript 5 and 6.In particular, this book is aimed at intermediate-to-advanced Java Script developers programming for a browser or environment who want to learn about the latest developments in the language.ECMAScript 6 reached feature complete status in 2015 and was formally dubbed “ECMAScript 2015.” (But this text still refers to it as ECMAScript 6, the name most familiar to developers.) The features vary widely from completely new objects and patterns to syntax changes to new methods on existing objects.The exciting thing about ECMAScript 6 is that all of its changes are geared toward solving problems that developers actually face.This book is not for beginners who have never written Java Script.You will need to have a good basic understanding of the language to make use of this book.
Many chapters start by discussing problems that ECMAScript 6 changes were made to solve, to give you a broader context for those changes, and all chapters include code examples to help you learn new syntax and concepts. Chapter 2: Strings and Regular Expressions covers additional functionality for string manipulation and inspection as well as the introduction of template strings.
A good understanding of ECMAScript 6 features is key for all Java Script developers going forward.
The language features introduced in ECMAScript 6 represent the foundation upon which Java Script applications will be built for the foreseeable future. My hope is that you’ll read this book to learn about ECMAScript 6 features so that you’ll be ready to start using them as soon as you need to.
As such, it’s possible that your Java Script environment may not conform to the behavior described in this book.
This book is intended as a guide for those who are already familiar with Java Script and ECMAScript 5.