I am very sad. I have been learning JavaScript for the past one year. I can’t move beyond JavaScript. My logic is not developing. I have never worked on a real world project. And I don’t have any understanding of when to use recursive functions, when to use helper functions or when to use higher order functions. I don’t have this logical understanding.
Is there any solution to this thing? Now I have to quit learning JavaScript?
I am confused about this problem, is there any solution?
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
Challenge Information:
Create a Deep Flattening Tool - Create a Deep Flattening Tool
I asked Chat GPT for a logical task and solved it with string array and object method which are used in real life projects. But I got some of those things solved with the help of a senior developer. Then when I was initially learning JavaScript from videos. I created other small projects and from them I completed tasks like event domain and array method, string method and learned 10% of JavaScript, in short I tried all of them and got stuck in some logics which I have seen for the first time. Small logics and problems are solved but big logics are not solved and sometimes even star pattern in JavaScript is not known. So I came to this website to create logic but while solving this problem I came to know about this thing. That which thing I told above is used in which logic
I tried to run the loop and what is the problem in the function and what is the output of the function. After that, I took paper and pen and saw the loop iteration and did everything and finally took the code from the last AI and tried to understand but did not understand.