subtracao 1.0.1 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +7 -1
- package/package.json +2 -2
package/index.js
CHANGED
@@ -1,4 +1,10 @@
|
|
1
1
|
// função responsável por fazer a subtração de dois números
|
2
2
|
const subtraction = (a, b) => a - b;
|
3
3
|
|
4
|
-
|
4
|
+
// subtracao com 3 números
|
5
|
+
const subtractionWithThreeNumbers = (a, b, c) => a - b - c;
|
6
|
+
|
7
|
+
module.exports = {
|
8
|
+
subtraction,
|
9
|
+
subtractionWithThreeNumbers,
|
10
|
+
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "subtracao",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.3",
|
4
4
|
"main": "index.js",
|
5
5
|
"scripts": {
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1"
|
@@ -9,5 +9,5 @@
|
|
9
9
|
"author": "Daniel Castro",
|
10
10
|
"license": "ISC",
|
11
11
|
"description": "",
|
12
|
-
"gitHead": "
|
12
|
+
"gitHead": "d8f45fcfbee6235cebc539363e8e1bc92f48302b"
|
13
13
|
}
|