---
title: "#344: JavaScript Factory Functions with ES6+"
publication: "JavaScript Weekly"
issue: 344
published_at: "2017-07-21"
canonical_url: "https://javascriptweekly.com/issues/344"
---

#344: JavaScript Factory Functions with ES6+

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

JavaScript WeeklyIssue 344 — July 21, 2017[JavaScript Factory Functions with ES6+](https://medium.com/javascript-scene/javascript-factory-functions-with-es6-4d224591a8b1)_“In JavaScript, any function can return an object. When it does so without the new keyword, it’s a factory function.”_ Eric Elliot 
[Hidden Messages in JavaScript Property Names](https://www.stefanjudis.de/hidden-messages-in-javascript-property-names.html)A fun look at the mechanics behind a seemingly simple snippet of JavaScript that doesn’t do what you’d expect. Beware of hidden Unicode characters. Stefan Judis 
[The State of JavaScript Survey](https://stateofjs.com/)This popular survey returns for its second year to see which _“buzzwords are here to stay and which ones will soon fall to JavaScript fatigue”_. Sacha Greif 
[![GrapeCity Wijmo\](https://copm.s3.amazonaws.com/fb7f8487.png)](http://wijmo.com/ebook?utm_source=javascriptweekly&utm_medium=banner&utm_campaign=primary_0717)[Learn how to choose the best JavaScript framework for your team](http://wijmo.com/ebook?utm_source=javascriptweekly&utm_medium=banner&utm_campaign=primary_0717)This free e-book teaches you about the strengths and weaknesses of JavaScript’s top frameworks and offers a methodology for selecting which framework works best for your team and project. [Get it now](http://wijmo.com/ebook?utm_source=javascriptweekly&utm_medium=banner&utm_campaign=primary_0717). GrapeCity WijmoSponsor
[How to Create a Reddit Clone Using React and Firebase](https://www.sitepoint.com/reddit-clone-react-firebase/)Nirmalya Ghosh shows you how to use Firebase’s real-time database features, coupled with create-react-app, to build a basic Reddit clone with live voting. SitePoint 
[gpu.js: GPU Accelerated JavaScript](http://gpu.rocks/)Compiles specially written JavaScript functions into shader language (GLSL) and runs them on the GPU via WebGL. Sapuan, Saw and Cheah 
[(Now More Than Ever) You Might Not Need jQuery](https://css-tricks.com/now-ever-might-not-need-jquery/)_“a good bit has changed in browser land since the last ‘You Might Not Need jQuery’ article you might have stumbled upon”_ Ollie Williams 
[A Proposal for a Binary AST for ECMAScript](https://github.com/syg/ecmascript-binary-ast/)An explanation of a proposed new binary AST format and what benefits it could bring. Shu-yu Guo 


Jobs

- [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
- [Mobile and client library SDK developer](http://jobs.ably.io/o/mobile-and-web-client-library-sdk-developer?utm_source=javascriptweekly&utm_medium=email)We’re a growing realtime platform solving truly complex distributed problems for the developer community. If you enjoy challenging your grey matter and building great web services, apply. ABLY.IO
- [Senior Software Engineer - JavaScript](http://jobs.jobvite.com/careers/newrelic/job/ocUh5fwc?__jvst=Job%20Board&__jvsd=JavaScriptWeekly)We are looking for a Software Engineer with strong interest and experience in UI engineering who can help take our newest product, New Relic Infrastructure, to the next level. New Relic

In Brief

[Angular 4.3 Now Available](https://blog.angular.io/angular-4-3-now-available-8d57b57eb5a8) news 
A minor release that contains no breaking changes. [Full changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md).
Stephen Fluin

[New Book: How to Earn More as a Software Developer](https://simpleprogrammer.com/products/careerguide?utm_source=coopermedia&utm_medium=email&utm_campaign=career-guide&utm_content=2017-07-career-guide-launch-javascript-weekly) news 
Learn new skills faster, find work you love, earn what you're worth. Get it today for $0.99 (limited time).
Simple ProgrammerSponsor

[Implementing the MVC Design Pattern in Vanilla JavaScript](https://www.sitepoint.com/mvc-design-pattern-javascript/) tutorial
SitePoint

[How to Use Polymer with Webpack](https://medium.com/dev-channel/how-to-use-polymer-with-webpack-b41812d78b15) tutorial
Rob Dodson

[Extracting Logic from React Components](https://javascriptplayground.com/blog/2017/07/react-extracting-logic/) tutorial
Jack Franklin

[An ES Proposal Explained: RegExp Unicode Property Escapes](http://2ality.com/2017/07/regexp-unicode-property-escapes.html) tutorial
Dr. Axel Rauschmayer

[Webpack’s import() Will Soon Fetch JS + CSS — Here’s How To Do It](https://medium.com/faceyspacey/webpacks-import-will-soon-fetch-js-css-here-s-how-you-do-it-today-4eb5b4929852) tutorial
James Gillmore

[Preventing a Mobile Browser From Sleeping with NoSleep.js](https://davidwalsh.name/keep-awake) tutorial 
NoSleep.js is a small Wake Lock API shim to prevent the browser and device from going to sleep.
David Walsh

[Angular Testing In Depth: Components](https://auth0.com/blog/angular-testing-in-depth-components/) tutorial
Gábor Soós

[4 Important Changes in Vue.js 2.4](http://vuejsdevelopers.com/2017/07/17/vue-js-2-4-important-features/) tutorial
Anthony Gore

[Catch Errors Before Your Users Do 🎣](https://rollbar.com/jsweekly) 
Instantly know whats broken and why. Monitoring, alerting & analytics for JavaScript errors. Try it.
ROLLBARSponsor

[RxJS By Example](https://www.youtube.com/watch?v=K7AvXUNB2X8) video
Ben Lesh

[Vue.js 2.0 From Scratch in 60 Minutes](https://www.youtube.com/watch?v=z6hQqgvGI4Y) video
Brad Traversy

[Control Things in the Real World with Web Bluetooth and Puck.js](https://pusher.com/sessions/meetup/bristol-js/web-bluetooth-espruino-and-puckjs) video
Gordon Williams

[Tabris.js 2.0 Released: Develop Native iOS and Android Apps in JS](https://eclipsesource.com/blogs/2017/07/20/no-more-waiting-tabris-js-2-0-is-here/) tools
EclipseSource

[emojify-webpack-plugin: Transforms Code Into Emoji](https://github.com/Mechazawa/emojify-webpack-plugin/) tools 
A humorous idea if normal minification isn’t your thing.
Mechazawa

[“CircleCI 2.0 is fast. We reduced builds from minutes to 12 seconds.”](https://circleci.com/?utm_source=cooperpress&utm_medium=newsletter&utm_content=javascript-weekly&utm_campaign=july) tools
CircleCISponsor

[Express React Starter: Starter Project for create-react-app + Express.js](https://medium.com/burke-knows-words/introducing-express-react-starter-b6d299206a3a) code
Burke Holland

[Wade: Fast, 1KB Trie-based Search for JavaScript](https://github.com/KingPixil/wade) code 
And a [related blog post.](https://blog.kabir.ml/posts/inside-wade.html)
Kabir Shah

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/344)

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