Explorar o código

small changes

unknown %!s(int64=3) %!d(string=hai) anos
pai
achega
0c6e1da8ab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      javascript/hw.js

+ 1 - 1
javascript/hw.js

@@ -74,7 +74,7 @@ const myBind = function (fnBind, context, settings) {
 				return settingsItem;
 			}
 		});
-		return fnBind(...array);
+		return fnBind.apply(context, array);
 	};
 };