Arrow functions (also called “fat arrow functions”) are undoubtedly one of the more popular features of ES6. They introduced a new way of writing concise functions.

Here is a function written in ES5 syntax:

function timesTwo(params) {
return params * 2
timesTwo(4); // 8

Now, here is the same function expressed as an arrow function:

var timesTwo = params => params * 2timesTwo(4);  // 8

It’s much shorter! We are able to omit the curly braces and the return statement due to implicit returns (but only if there is no block — more on this below).

It is…

Many moons ago, I was a dancer. A contemporary dancer, to be exact.

And no, contemporary dance isn’t always a group of barefooted people pretending to be trees swaying in the wind. On one occasion, I danced the part of a ghost.

Now that I’m more than six months into my coding journey, I am noticing the similarities between learning how to code, and learning how to dance.

1. Focus on the basics

Over the weekend, I completed Will Sentance’s JavaScript: The Hard Parts. It might not sound like the most glorious way to spend a weekend, but I actually found it pretty fun and relaxing to complete the course. It touched on functional programming, higher-order functions, closures, and asynchronous JavaScript.

For me, the highlight of the course was how he expanded on the JavaScript approaches to Object-Oriented Programming (OOP) and demystified the magic behind the new operator. I now have a well-rounded understanding of what goes on under the hood when the new operator is used.

Object-Oriented Programming in JavaScript

I embarked on my freeCodeCamp journey in Dec 2017, and am two projects shy of completing the Front-End Development Certificate. This post documents my process of completing the Pomodoro Clock project.

What is a Pomodoro Clock?

The Pomodoro Technique is a time-management framework which is as simple as it is effective - you use a timer to break your work into time blocks (usually 25 minutes), separated by a 5 minute break. After every 4 pomodoros, you can take a longer break.

I had to fulfil the following user stories:

  • I can start a 25 minute pomodoro, and the timer will go off once 25…

Cynthia Lee

I’m a front-end web developer with a knack for problem-solving and a passion for good design. Join me on my coding journey at

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store