diff --git a/package.json b/package.json index 7b82143..2683cd9 100644 --- a/package.json +++ b/package.json @@ -29,4 +29,4 @@ "/(node_modules)/" ] } -} \ No newline at end of file +} diff --git a/src/index.js b/src/index.js index 858a8e8..fe12d42 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,5 @@ const triangleArea = (base, height) => { - + return base*height/2 }; module.exports = triangleArea; \ No newline at end of file