Skip to content

Commit

Permalink
fix eslint errors for gigasecond exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
trvrfrd committed Oct 30, 2018
1 parent 38c4bc5 commit cd9bebf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Expand Up @@ -7,7 +7,6 @@ difference-of-squares
flatten-array
food-chain
forth
gigasecond
grade-school
grains
hexadecimal
Expand Down
4 changes: 2 additions & 2 deletions exercises/gigasecond/example.js
@@ -1,6 +1,6 @@
const GIGASECOND_IN_MILIS = 1e9 * 1e3;

export const gigasecond = dateOfBirth => {
export const gigasecond = (dateOfBirth) => {
const birthTime = dateOfBirth.getTime();
return new Date(birthTime + GIGASECOND_IN_MILIS);
}
};

0 comments on commit cd9bebf

Please sign in to comment.