yumyv / epam_fe_2019_myronets

Epam study project on native js
Apache License 2.0
0 stars 0 forks source link

HW13-Advanced-Functions #13

Open Tttaras1 opened 4 years ago

Tttaras1 commented 4 years ago

Hello!

Task 1: • Why are you using apply here? image

Task 2: • Your function should show current step with console.log(). Because of what you use return this.step you cant use chaining after this method. image

• It's not a mistake, but better would be: image https://github.com/airbnb/javascript#variables--unary-increment-decrement

Task 3: • You can also use 'reduce' method in your 'ES5' implementation by this way: image image

Everything done well. Good job!

yumyv commented 4 years ago

Okay, thank you for the feedback.