Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: priya42bagde/JavaScriptCodingInterviewQuestions
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: PRABHAKAR9107/JavaScriptCodingInterviewQuestions
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 8, 2022

  1. Some output mistakes

    Hello Priya,
    
    I saw some output mistakes during solving problems.
    
    line no:- 140 and 141
    output :-{} //There are only six falsely values in JavaScript: undefined, null, NaN, 0, "" (empty string), and false of course. {} is truthy value.
    
    line no:- 180 to 183 
    We can also achieve the result through the spread operator, but we can consider the above method as the best practice.
    
    line no:- 473 to 477
    
    In line no 477 we are also invoking arrow fn as well .so, output is number
    PRABHAKAR9107 authored Oct 8, 2022
    Configuration menu
    Copy the full SHA
    bef5245 View commit details
    Browse the repository at this point in the history
Loading