Barcelona | Oct2025-2 | Roman Pavlenko | Sprint-2 | Coursework#2
Open
DraftRoman wants to merge 9 commits intomainfrom
Open
Barcelona | Oct2025-2 | Roman Pavlenko | Sprint-2 | Coursework#2DraftRoman wants to merge 9 commits intomainfrom
DraftRoman wants to merge 9 commits intomainfrom
Conversation
- 0 let this let statement is trying to declare a variable with the same name as the function parameter
- 1 const decimalNumber = 0.5; and callin the function, for example console.log(convertToPercentage(0.75)); // 75%
- 2 square(num) { // changed parameter name from 3 to num. console.log(square(4)); // 16
1 - replaced console.log in to return 2 - removed semicolom after return statement and retuned sum of a and b 3 - added argument for function. - replaced num in to a argument inside the function
1. - made function to calculate the BMI - created a variable for call the function 2. - created a function for make it toUpperSnakeCase and added few tests 3. - function for pounds - practiced in methods substring, padStart, padEnd - added console.log as tests
- experimented with the file time-format, and before that created time function which works for 23:59 format
- created phone number used slice and join methods - worked with objects and types
- arrow function. length with the filter method to count the number of developers who met the conditions - and basic one with switch case operators - split solt join methods in function descendingOrder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Learners, PR Template
Self checklist
Changelist
1-key-errors
Briefly explain your PR.
Questions
Ask any questions you have for your reviewer.