new solution addresses the possibility of first letter of arg "before" being lower case and needing to change the first letter of "after" from capital to lowercase
solution more streamlined
added resource to help with regular expressions
* fix : add URL to a missing link
In Relevant Links (line 54), the first URL text 'Using typeof' was missing a href value. I fixed it by adding the link to a FreeCodeCamp's Javascript Debugging curriculum that introduces typeof method. (
Debugging: Use typeof to Check the Type of a Variable : https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/debugging/use-typeof-to-check-the-type-of-a-variable)
* I'm a first-time open source contributor. If you have any feedback about my pull request, feel free to share it with me.
* Update guide/english/certifications/javascript-algorithms-and-data-structures/basic-algorithm-scripting/boo-who/index.md
Remove the first bullet instead of adding the link (suggested by RandellDawson)
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
The first advanced solution is almost identical to the intermediate one. Per "similar but better" rule, I believe the first one should be kept (or at the bare minimum, they should at least fill the same category).
* Extend solution explanation
The explanation for the advanced code solution was a little cumbersome.
It tried to explain the used method, but also tried to explain an alternative solution, both mixed together.
To fix that, I moved everything related to the alternative solution to another paragraph.
Additionally, I added a more detailed explanation about this alternative solution.
Hopefully, with this fixes, both solutions will be clearer to the user.
* Replace intermediate solution
Replace the intermediate solution with a more concise one.
I took the opportunity to eliminate the indenting in all 3 snippets to remove unnecessary blank space on the left.
I also changed the wording on one of the instructions and fixed a typo.
* Remove external links
* Simplity regex declaration
I replaced `new RegExp()` in order to make the solution cleaner and shorter
* Update index.md
* Modify if statement
Change the solution so an empty string is returned when num is less than 1 rather than less than 0 for consistency with instructions.
* Add test
New test checks that if num is 0, an empty string is returned
* Fix test
Fixing errors in newly proposed test that checks that empty string is returned when num is 0
* Modify intermediate solution
Changing if statement in intermediate solution to check whether num is less than 1 rather than less than 0. (Also adding curly brackets to that solutions if/else statements.)
* fix: removed unnecessary assert message arguments
* Add comments and update callback arguments' names
I've added a few comments to the solution and given the callback arguments more descriptive names to clarify what the solution is doing, since this challenge seemed a little more complex than the previous challenges.
* Update guide/english/certifications/javascript-algorithms-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data/index.md
That makes absolute sense and is clearer. Thank you.
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update indentation to be two-spaced
* fix: replace sh with shell
fix replace terminal with shell
fix replace node with js
fix replace output with shell
fix replace cs with csharp
fix replace c++ with cpp
fix replace c# with csharp
fix replace javasctipt with js
fix replace syntax with js
fix replace unix with shell
fix replace linux with shell
fix replace java 8 with java
fix replace swift4 with swift
fix replace react.js with jsx
fix replace javascriot with js
fix replace javacsript with js
fix replace c++ - with cpp
fix: corrected various typos
fix: replace Algorithm with nothing
fix: replace xaml with xml
fix: replace solidity with nothing
fix: replace c++ with cpp
fix: replace txt with shell
fix: replace code with json and css
fix: replace console with shell
* A clearer, more readable return statement
Use .filter() to get the odd values in array.
Use .reduce() to sum.
Two separate tasks, one line, easier to read and understand.
Updated comments and Code Explanation accordingly.
* Adding a second solution with a "for" loop
+ adapted some texts to make the whole thing coherent
+ added some Useful links at the end of the article
* Update index.md
* Update index.md
* Update index.md
* Update index.md
* Update index.md
* Update index.md
* simplifying the mathematical solution
We don't need to sort the two number array, using Math.abs() we can get the count of the numbers in range and calculate the sum.
* Remove previously relevant info regarding sort()
* Clarify code for better readability
* change let to const according to review
* added missing semicolon