Open lalitkumarthakur opened 11 months ago
hii @lalitkumarthakur I want to work on this issues assign me this
What do you need here? If you can explain with an example I can give it a shot
last loop is should be nested i think
On Mon, 11 Dec 2023 at 15:10, Prashant Kumar @.***> wrote:
What do you need here? If you can explain with an example I can give it a shot
— Reply to this email directly, view it on GitHub https://github.com/lalitkumarthakur/thapatechnicalJavaScript_course/issues/94#issuecomment-1849663146, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUPSVBUUACWGXYATHEEXVKLYI3IH5AVCNFSM6AAAAABAPEDEECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZGY3DGMJUGY . You are receiving this because you commented.Message ID: <lalitkumarthakur/thapatechnicalJavaScript_course/issues/94/1849663146@ github.com>
So, you mean to say where he takes const myObject and do a for loop in #183?
Hi @prashant14589 @last-hop , I have updated the comment. Please go through it and act accordingly. If you have anything to ask, then feel free to comment here and ask !
hii @lalitkumarthakur I want to work on this issues assign me this
Done. Please check and help me to solve this!
While printing the output, there is no proper message is provided which makes it difficult for the users to understand.
Starting from line no - 104
[Edited] -
Let me explain the issue properly -
This is how title and output are printed on the cosole in the browser -
do...while() loop - script.js:43:9 2number = 0
2number = 1 2number = 2 2number = 3 2number = 4 2number = 5 2number = 6 2number = 7 2number = 8 2number = 9 2number = 10
Example with while() loop- i = 7 i = 8 i = 9 i = 10
Now, in the code, this is how things are explained with well documented notes -
console.log(" for() loop - "); // for loop // A for loop repeats until a specified condition // evaluates to false. The JavaScript for loop is // similar to the Java and C for loop. // A for statement looks as follows: js Copy to // Clipboard for (initialization; condition; // afterthought) statement.
// Example - // Print the table of 8 using for loop -
let k; console.log(
\n Table of 8 =
); for (k = 0; k < 11; k++) { let n = k * 8; console.log(8 x ${k} = ${n}
); n++; }console.log("\n\n"); console.log(" while() loop - ");
So, make sure that when the output is printed in the console, "The heading must be there" which explains what is getting printed. Otherwise, me myself don't understand what is going on and gets coonfused so others do get confused.
Also, please read the code, understand what's going on, then add comment explaining what in going on in that of that code.
It's simply descriptive documentation task which makes anyone to understand easily and learn JavaScript with ease.
Please fell free to contribute.
Also,
Do not push the changes from your /main/ branch and upload to this repo's main branch directly!
Please do this after you have cloned this repo -
git fetch git checkout correct-v2
Now, correct-v2 is the branch where correct and meant to be done. So, please switch the branch first then, start doing any changes.
Once changes are complete, then do this -
git add . git commit -b "say what changes you did" git push origin correct-v2
I hope everything is clear.