From 1c61ced448e34a438c31f1fa20688390d074822b Mon Sep 17 00:00:00 2001 From: Denys Date: Sun, 31 May 2020 14:48:08 +0300 Subject: [PATCH] solution --- package.json | 2 +- src/generateZeroFunction.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 161655a..695c144 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "license": "GPL-3.0", "devDependencies": { "@mate-academy/eslint-config": "*", - "@mate-academy/scripts": "^0.3.5", + "@mate-academy/scripts": "^0.3.6", "eslint": "^5.16.0", "eslint-plugin-jest": "^22.4.1", "eslint-plugin-node": "^8.0.1", diff --git a/src/generateZeroFunction.js b/src/generateZeroFunction.js index 7c25f17..09c4c11 100644 --- a/src/generateZeroFunction.js +++ b/src/generateZeroFunction.js @@ -12,7 +12,7 @@ * */ function generateZeroFunction() { - // write code here + return () => 0; } module.exports = generateZeroFunction;