Does JavaScript Affect on SEO?

I am a newbie in the field of Search Engine Optimization I want to know something regarding Javascript, I have some confusion about it that somewhere I read that Google crawler can’t read the javascript.
I am currently working on a project and I don’t that does it have javascript code in my website and what does it effect on SEO! Kindly suggest me what if there is some suggestion for my project which is good to improve my website ranking.
Thanks in advance.

Javascript is going to have zero impact on your SEO unless you are using it to power a one-page app that doesn’t dynamically generate unique URLs for different information.