Skip to content

Conversation

@ptbhatcoder
Copy link
Contributor

@ptbhatcoder ptbhatcoder commented Dec 4, 2021

Found the following two issues in Q13 of functions-concepts.

  • argument name was num but sum used num1 + num2. In strict mode num1 will not be found ( leading to reference error ) and in non strict mode it will be undefined
  • The string argument which is being passed to console.log is being ignored erroneously. Hence moved the string param to end with its default value and modified the output as well.

Found an issue in the proxy.call example of Q20 of functions-concepts. as well, where it is typed undefined for the output which ideally should have been an object.

Found the following two issues in Q13 of functions-concepts.
- argument name was num but sum used num1 + num2. In `strict mode` num1 will not be found ( leading to reference error ) and in non strict mode it will be undefined
- The string argument which is being passed to console.log is being ignored erroneously. Hence moved the string param to end with its default value and modified the output as well.
@sadanandpai sadanandpai merged commit 5690f83 into sadanandpai:main Dec 4, 2021
@ptbhatcoder ptbhatcoder deleted the patch-1 branch December 5, 2021 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants