From 59de25b43d9120019fe92110587e3b83f880d073 Mon Sep 17 00:00:00 2001 From: JosteinRuen <99617155+JosteinRuen@users.noreply.github.com> Date: Thu, 26 Sep 2024 08:34:30 +0200 Subject: [PATCH] core done --- .husky/pre-commit | 4 ---- src/assignment.js | 4 +++- src/declaration.js | 2 ++ 3 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index 6b54e0b..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npx eslint src diff --git a/src/assignment.js b/src/assignment.js index a2f2b63..e0a714f 100644 --- a/src/assignment.js +++ b/src/assignment.js @@ -4,8 +4,10 @@ firstNumber = 0 // TODO: 1. Set the value of firstNumber below so the tests pass +firstNumber = 20 + // TODO: 2. Change the code below so that the tests pass -const secondNumber = 0 // edit this value +const secondNumber = 42 // edit this value // do not edit the exported object. module.exports = { diff --git a/src/declaration.js b/src/declaration.js index 80daf64..46e6950 100644 --- a/src/declaration.js +++ b/src/declaration.js @@ -2,6 +2,8 @@ // // // TODO: 1. Declare the variables firstName and age so that the tests pass +const firstName = 'Jane' +const age = 35 // do not edit below this line let firstNameExport = ''