small medium large xlarge

Simplifying JavaScript: Writing Modern JavaScript with ES5, ES6, and Beyond in print

April 18, 2018

JavaScript can be as sketchy as gas station sushi: anywhere from unappealing to straight up disastrous. But it doesn't have to be.

The best modern JavaScript is simple, readable, and predictable. Learn to write modern JavaScript not by memorizing a list of new syntax, but with practical examples of how syntax changes can make code more expressive. Come and get your own copy of Simplifying JavaScript: Writing Modern JavaScript with ES5, ES6, and Beyond, now in print and shipping from


Simplifying JavaScript: Writing Modern JavaScript with ES5, ES6, and Beyond

It’s time to write JavaScript code that's clean and expressive. Modern
JavaScript is more simple, predictable, and readable than ever. Discover how
to write better code with clear examples using principles that show how
updated syntax can make code better with fewer bugs.

Starting from the ground up, learn new syntax (or how to reuse older
syntax) to transform code from clunky bug-susceptible scripts to clear and
elegant programs that are easy to read and easy to extend.

Create a foundation for readable code with simple variable declarations that
reduce side effects and subtle bugs. Select collections with clear goals
instead of defaulting to objects or arrays. See how to simplify iterations
from complex loops to single line array methods. Master techniques for writing
flexible and solid code ranging from high-order functions, to reusable
classes, to patterns for architecting large applications creating applications
that will last through rounds of refactoring and changing requirements.

The best part is there's no need to read this book straight through. Jump
around and incorporate new functionality at will. Most importantly,
understand not just what the new syntax is, but when and how to use it. Start
writing better code from the first page.

Now in print and shipping from

Upcoming Author Appearances

  • 2018-04-20 Jeremy Fairbank,
    CodeStock, Knoxville, TN
  • 2018-04-24 Diana Larsen,
    ODF 2018: Designing for Agility & Innovation, Ann Arbor, MI
  • 2018-04-30 Diana Larsen,
    deliver:Agile, Austin, TX
  • 2018-05-02 Colin Jones,
    deliver:Agile, Austin, TX
  • 2018-05-04 Ryan Ripley,
    Agile Day Maine – Portland, Maine
  • 2018-05-04 Diana Larsen,
    Agile Maine Day 2018, Portland, ME
  • 2018-05-07 Brian MacDonald,
    Write the Docs, Portland OR
  • 2018-05-08 Michael Keeling,
    SATURN 2018 in Dallas, TX
  • 2018-05-09 VM Brasseur,
    PyCon US, Cleveland, OH
  • 2018-05-09 Michael Keeling,
    SATURN 2018 in Dallas, TX
  • 2018-05-22 Diana Larsen,
    Mile High Agile 2018, Denver, CO
  • 2018-05-23 Michael Keeling,
    XP 2018 in Porto, Portugal
  • 2018-05-24 Michael Keeling,
    XP 2018 in Porto, Portugal
  • You Could Be a Published Author

    Is there a tech topic you are deeply passionate about and want to share with the rest of us? You could become a published Pragmatic Bookshelf author! Take a look at our page for details, including our 50% royalty (yes, for real!) and world-class development editors.

    Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this

    Follow us on Twitter: pragprog</a>, <a href="">pragpub, Andy Hunt @PragmaticAndy.

    Coming Soon:

    • No Regrets Xcode
    • Programming Ecto: Build Database Apps in Elixir for Scalability and Performance, in beta
    • Programming Phoenix ≥ 1.4: Productive |> Reliable |> Fast, in beta
    • Build Reactive Websites with RxJS: Master Observables and Wrangle Events, in beta

    Recently Released:

    Thanks for your continued support,

    Andy Hunt
    Publisher, Pragmatic Bookshelf

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts