If I could have any comfort right now it would be you telling me JS devs get fired by the dozen per week, and that miraculously we can get by, writing mediocre, if not shitty JS.
I’m missing a lot of experience but I got a lot out of the code reviews, so for that I’m very grateful. I only just got started but it’s been a bumpy few years. At first I took whatever I could get but I realize that no one trusted me to work on anything more complex. Now I’ve gone in the deep end I’m not good enough 😂 I’m feeling exhausted right now but I’ll bounce back I’m sure.
We all write code that we will look back on in disgust, because we're constantly growing as developers. And, I apologize for the sweeping statements about JS, but the fact is its the most talked about/used language around (for the time being). There are plenty of people who absolutely crush with JS, its just that in my experience, those are the people with experience in a large variety of languages and technology stacks.
When looking for your next opportunity, try to find a company that is invested in growing you as a developer, not a company that is looking to chew you up and spit you out.
Your current experience with JS/Front End is still a valuable way to get your foot in the door, but I wouldn't settle for that. Keep aiming to expand your knowledge.
My plan was to get decent at one language before moving onto another so I at least seem reliable. And from the sounds of what I'm told it's not unachievable but I definitely could be nitpicked more. (Ie extraneous whitespace, correct tabbing, instead of using two for loops, to use a find inside a for loop, to know '!= null' checks for both null and undefined...)
I got to the place where my code works and it covered all cases but it was too long.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.