From 7c258c11e1ee11494d7e1123a289baf98524540c Mon Sep 17 00:00:00 2001 From: Anonymous-dev-v <83170790+Anonymous-dev-v@users.noreply.github.com> Date: Tue, 5 Apr 2022 22:43:50 +0300 Subject: [PATCH] Update task7.js --- js-tasks/task7.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js-tasks/task7.js b/js-tasks/task7.js index 7b65403..7f8810e 100644 --- a/js-tasks/task7.js +++ b/js-tasks/task7.js @@ -1,5 +1,6 @@ // Напиши функцию bind, которая позволяет привязать контекст (значение this) к функции: function bind(fn, context) { + //need to redo return fn.bind(context) }