JavaScript and ES6 Challenges - Do you know JavaScript? [Video]

More Information
  • Solve different JavaScript challenges and understand the solution for each challenge
  • Understand ES6 classes, arrow functions, const, and let
  • Use ES6 destructuring of objects and arrays
  • See how JavaScript and ES6 work under the hood
  • Find out how to create a not "shallow" but "true" copy of the array or object
  • Understand what variables hoisting and closures are
  • Understand the purpose of the default function parameters and their difference from the function arguments
  • Discover what IIFEs (Immediately Invoked Function Expressions) are and how to use them appropriately to dispose of internal functions
  • See the difference between rest and spread operators and their appropriate usage
  • Implement template literals instead of traditional strings concatenation
  • Know how to properly iterate objects and arrays
  • Implement array helper methods such as forEach and reduce

In this course, you will get JavaScript challenges that you need to solve. Each challenge consists of the task and solution. In some cases, you will be asked to fix existing code; in other cases, you will need to write some additional code. The instructor will explain each line of the solution and you will deeply understand what happens behind the scenes. Topics of the challenges include the following:

  • Destructuring
  • Array helper methods
  • Variables hoisting
  • Let, var, and const
  • Rest and spread operators
  • The ternary operator
  • Default parameters
  • Closures
  • IIFEs (Immediately Invoked Function Expressions)
  • Classes

At the beginning of the course, you will get source files for all challenges. They include start and finish states for each challenge. You need to begin with "start" folder for each challenge.

Style and Approach

This course is a great introduction to JavaScript and ES6 challenges. The instructor covers most of the related topics in a short time span to keep you interested till the end. You will perform all the tasks the same way and will get a lot of challenges to solve yourself. We discuss the solution to each challenge together.


Puzzles are cool, and solving tasks will help you feel more confident with the ES6 features!

Course Length 1 hour 52 minutes
ISBN 9781789955606
Date Of Publication 22 Oct 2018
Challenge 1 - Sum numbers
Challenge 1 - Sum numbers – SOLUTION
Challenge 2 – Const
Challenge 2 - Const – SOLUTION
Challenge 3 – Let
Challenge 3 - Let – SOLUTION
Challenge 4 – Hoisting
Challenge 4 - Hoisting – SOLUTION
Challenge 5 - Ternary Operator
Challenge 5 - Ternary Operator – SOLUTION
Challenge 6 - Arrow Functions
Challenge 6 - Arrow Functions – SOLUTION
Challenge 7 - Default parameters
Challenge 7 - Default parameters – SOLUTION
Challenge 8 - Check presence of the function parameters
Challenge 8 - Check presence of the function parameters – SOLUTION
Challenge 9 - Object Destructuring
Challenge 9 - Object Destructuring – SOLUTION
Challenge 10 - Destructuring and Rest Operator
Challenge 10 - Destructuring and Rest Operator – SOLUTION
Challenge 11 - Spread Operator
Challenge 11 - Spread Operator – SOLUTION
Challenge 12 - Copy Array
Challenge 12 - Copy Array – SOLUTION
Challenge 13 - Template Literals
Challenge 13 - Template Literals – SOLUTION
Challenge 14 - Object Destructuring
Challenge 14 - Object Destructuring – SOLUTION
Challenge 15 - Iterate over String
Challenge 15 - Iterate over String – SOLUTION
Challenge 16 - Swap values of the two variables
Challenge 16 - Swap values of the two variables – SOLUTION
Challenge 17 - IIFE (Immediately Invoked Function Expression)
Challenge 17 - IIFE (Immediately Invoked Function Expression) – SOLUTION
Challenge 18 – Classes
Challenge 18 - Classes – SOLUTION
Challenge 19 - Iterate over Object
Challenge 19 - Iterate over Object – SOLUTION
Challenge 20 - Sum positive and negative numbers
Challenge 20 - Sum positive and negative numbers – SOLUTION


Bogdan Stashchuk

Bogdan Stashchuk is a software engineer working as a full-stack web developer. He has been teaching students for more than 20 years. Bogdan has experience in explaining difficult things in an easy-to-understand format with interesting practice activities. With his expertise and knowledge, he enables his students to not only learn but also retain the knowledge they’ve gained for a longer period.