London | 26-ITP-May | Dipa Sarker | Sprint 2 | Coursework#1421
London | 26-ITP-May | Dipa Sarker | Sprint 2 | Coursework#1421Dipa-Sarker wants to merge 7 commits into
Conversation
LonMcGregor
left a comment
There was a problem hiding this comment.
Good work, there is just one question I have about brackets - you can see my comment in one place where you use brackets that are maybe not needed. See if you can spot the other locations throughout your code.
| // The correct code: | ||
|
|
||
| function multiply(a, b) { | ||
| return(a * b); |
There was a problem hiding this comment.
Thank you for your observation. Yes, I agree with you, there is no need to use brackets here cause this is a simple expression which will not affect the result without bracket. I made correction in the code.
There was a problem hiding this comment.
Good work finding these. Are there any other examples of brackets that are not needed in your other files?
There was a problem hiding this comment.
I have tried to make corrections for other files. If anything else needed please let me know. Thank you.
LonMcGregor
left a comment
There was a problem hiding this comment.
Good work, this task is complete now
Learners, PR Template
Self checklist
Changelist