Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

NW6 | Pedram Amani | JS2-Module | Week1 #155

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

pedram-am
Copy link

Learners, PR Template

Self checklist

  • [ ✓ ] I have committed my files one by one, on purpose, and for a reason
  • [ ✓ ] I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
  • [ ✓ ] I have tested my changes
  • [ ✓ ] My changes follow the style guide
  • [ ✓ ] My changes meet the requirements of this task

Changelist

Briefly explain your PR.

JavaScript2 - week1 exercises

Questions

Ask any questions you have for your reviewer.

Copy link

netlify bot commented Jan 2, 2024

Deploy Preview for cute-gaufre-e4b4e5 ready!

Name Link
🔨 Latest commit 000bd07
🔍 Latest deploy log https://app.netlify.com/sites/cute-gaufre-e4b4e5/deploys/6594582855d5490008163c50
😎 Deploy Preview https://deploy-preview-155--cute-gaufre-e4b4e5.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

@AltomHussain AltomHussain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work mate.

} else {
return sortedList[middleIndex];
}
// const median = list.splice(middleIndex, 1)[0];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, you can remove these lines since it is not useful?
Is not good practice to push commented code.


console.log(dedupe(["a", "a", "a", "b", "b", "c"]));

module.exports = dedupe;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work mate!

@@ -0,0 +1,5 @@
function findMax(numbers) {
return Math.max(...numbers.filter((item) => typeof item === "number"));
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

0
);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

// }
// }
// return -1;
// }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, can you remove the commented code since you don't need it ?

@pedram-am
Copy link
Author

Nice work mate.

Cheers mate! Thanks for your time! 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants