---
title: "#348: How Async/Await Will Make Your Code Simpler"
publication: "JavaScript Weekly"
issue: 348
published_at: "2017-08-18"
canonical_url: "https://javascriptweekly.com/issues/348"
---

#348: How Async/Await Will Make Your Code Simpler

This week's JavaScript news — [Read this e-mail on the Web](http://javascriptweekly.com/issues/348)

JavaScript WeeklyIssue 348 — August 18, 2017[Towards a JavaScript Binary AST](https://yoric.github.io/post/binary-ast-newsletter-1/)What could we improve if instead of sending text source code over the wire we sent a binary representation instead? David Teller 
[How Async/Await Will Make Your Code Simpler](https://blog.patricktriest.com/what-is-async-await-why-should-you-care/).. or _“How I Learned to stop writing Callback Functions and love JavaScript ES8.”_ Patrick Triest 
[Investigating the Performance of Object#toString in ES2015](https://ponyfoo.com/articles/investigating-performance-object-prototype-to-string-es2015)How Object#toString performs in the V8 engine, why it’s important, how it changed with ES2015 symbols, and how to speed it up. Benedikt Meurer 
[![Bugsnag\](https://copm.s3.amazonaws.com/4e5a5f0f.png)](https://www.bugsnag.com/platforms/javascript/?utm_source=cooperpress&utm_medium=cpc&utm_content=learn-more&utm_campaign=javascript&utm_term=javascript-weekly-20170818)[Auto Capture & Proactively Fix Client-Side Errors 🚀](https://www.bugsnag.com/platforms/javascript/?utm_source=cooperpress&utm_medium=cpc&utm_content=learn-more&utm_campaign=javascript&utm_term=javascript-weekly-20170818)“We can fix bugs in 30 minutes instead of 2 days. Our customers hardly see any bugs because we fix them right away.” Track all handled and unhandled errors, know instantly which errors to prioritize and troubleshoot efficiently. [Learn more](https://www.bugsnag.com/platforms/javascript/?utm_source=cooperpress&utm_medium=cpc&utm_content=learn-more&utm_campaign=javascript&utm_term=javascript-weekly-20170818). BugsnagSponsor
[Understanding V8’s Bytecode](https://medium.com/dailyjs/understanding-v8s-bytecode-317d46c94775)An explainer of V8’s bytecode format - think of bytecode as made up of “small building blocks that make up any JS functionality when composed together”. Franziska Hinkelmann 
[Developing in JavaScript in 2017: A Free Online JS Event](http://certifiedfreshevents.com/events/javascript-2017/)Featuring Ray Camden and TJ Vantoll looking at changes in JavaScript development in recent years. It’s next Wednesday (23rd). Certified Fresh Events 
[An Introduction to Preact: A Smaller React Alternative](https://blog.logrocket.com/introduction-to-preact-a-smaller-faster-react-alternative-ad5532eb6d79)[Preact](https://preactjs.com/) is a popular React-compatible alternative focused on being as thin and light as possible. Yomi Eluwande 
[This Week's Node News in Node Weekly](http://nodeweekly.com/issues/201)Did you know we have a sister Node newsletter with all the Node news? This week covers Node 8.4, facial recognition, and how Node’s hash flooding vulnerability was fixed. Node Weekly 


Jobs

- [Full-stack JavaScript Developer at X-Team (Remote)](https://x-team.com/javascript-developer/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=js-weekly-q1-17)We are 100% remote. We'll work with you 1-on-1 to motivate and fund you to learn, grow and build a legacy. [Join X-Team](https://x-team.com/javascript-developer/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=js-weekly-q1-17). X-Team
- [Front End Engineer at EDITED (London)](https://edited.com/jobs/engineering/?utm_source=javascriptweekly&utm_medium=email)Join us to impact how the world's biggest retailers operate by making a web app with great UX and DX using React, Redux and Glamor EDITED

In Brief

[Top-Level 'await' Now Supported in Chrome DevTools' Console](https://twitter.com/umaar/status/897408737694109697) news
Umar Hansa on Twitter

[Announcing TypeScript 2.5 RC](https://blogs.msdn.microsoft.com/typescript/2017/08/17/announcing-typescript-2-5-rc/) news
Microsoft

[A Feature Watch on ECMAScript 2018 (Updated)](http://www.2ality.com/2017/02/ecmascript-2018.html) news
Dr. Axel Rauschmayer

[The State of CSS in Angular](https://blog.angular.io/the-state-of-css-in-angular-4a52d4bd2700) news
Stephen Fluin

[Are content changes wasting your time? Add CMS anywhere on your site](https://component.io/?utm_source=javascript-weekly&utm_medium=newsletter&utm_campaign=august) 
Empower non-technical users to change content themselves, avoiding back-and-forth edits.
Component IOSponsor

[Beyond 'typeof' and 'instanceof': Simplifying Dynamic Type Checks](http://2ality.com/2017/08/type-right.html) tutorial
Dr. Axel Rauschmayer

[Using ES2017 Async Functions](https://css-tricks.com/using-es2017-async-functions/) tutorial 
Ever struggled with reasoning about asynchronous JavaScript?
Eric Windmill

[Building a realtime React VR app](https://blog.pusher.com/building-a-realtime-react-vr-app/?utm_source=jsweekly&utm_medium=email&utm_campaign=Aug18&utm_term=sponsoredlink&utm_content=cooperpress) tutorial 
Discover how you can create a realtime React VR app, using websockets to support multi-user interactions in a WebVR experience.
PusherSponsor

[Repatch: The Simplified, Less Verbose Redux](https://hackernoon.com/repatch-the-simplified-redux-2c4aa5c25fa9) tutorial 
A thorough introduction. [GitHub repo.](https://github.com/jaystack/repatch)
Péter Hauszknecht

[Building a Multiplayer Tic-Tac-Toe Game with Meteor](https://www.sitepoint.com/building-multiplayer-tictactoe-game-with-meteor/) tutorial
Paul Orac

[A Look at the 'Optional Catch Binding' ES Proposal](http://2ality.com/2017/08/optional-catch-binding.html) tutorial 
Would let us use ‘catch’ without defining a parameter.
Dr. Axel Rauschmayer

[Folding Promises in JavaScript](https://www.linkedin.com/pulse/folding-promises-javascript-vladim%C3%ADr-gorej) tutorial 
Covers endomorphism, isomorphism, homomorphism and catamorphism.
Vladimír Gorej

[5 Ways to Make HTTP Requests in Node](https://www.twilio.com/blog/2017/08/http-requests-in-node-js.html) tutorial node 
Overviews of ‘http’, Request, Axios, SuperAgent, and Got.
Twilio

[Wrap Web Components with React - Use your fav non-React libraries in a React Way](https://www.sitepen.com/blog/2017/08/08/wrapping-web-components-with-react/) tutorial
SitePenSponsor

[Webpack Tips for Efficient Bundling](https://www.youtube.com/watch?v=zFoBYfMLUCM) video
Google Chrome Developers

[Angular vs. React: Which Is Better for Web Development?](https://codeburst.io/angular-vs-react-which-is-better-for-web-development-e0dd1fefab5b) opinion 
A pretty in-depth code-driven comparison.
Brandon Morelli

[Up: A Rapid Way to Deploy Serverless Apps and APIs](https://medium.com/@tjholowaychuk/up-b3db1ca930ee) tools
TJ Holowaychuk

[Puppeteer: A Headless Chrome Node API by the DevTools Team](https://github.com/GoogleChrome/puppeteer) code node
Google

[Bubb Infotop: Tooltips with No Dependencies](http://bubb.surge.sh/) code

[Songbird: Spatial Audio Encoding on the Web](https://google.github.io/songbird/) code 
A real-time spatial audio encoding JavaScript library for WebAudio applications. [Repo here](https://github.com/google/songbird).
Google

Curated by [Peter Cooper](http://twitter.com/peterc) and published by [Cooperpress](https://cooperpress.com/).

Like this? You may also enjoy: [FrontEnd Focus](http://frontendfocus.co/) : [Node Weekly](http://nodeweekly.com/) : [React Status](http://react.statuscode.com/)

[Stop getting JavaScript Weekly](*|UNSUB|*) : [Change email address](*|UPDATE_PROFILE|*) : [Read this issue on the Web](http://javascriptweekly.com/issues/348)

© Cooperpress Ltd. Fairfield Enterprise Centre, Lincoln Way, Louth, LN11 0LS, UK
