(element.src.match ("bulbon")) or obj.innerHTML = ""
If here we meant a construction of this type: (element.src.match("bulbon")) || obj.innerHTML="" (element.src.match("bulbon")) || obj.innerHTML="" - this means that if element.src does not find bulbon matches, then an empty string will be specified in obj.innerHTML .
Start simple and gradually as you increase your skills, go deeper. I, for example, studied by this method: at the beginning I learned the basics, syntax, and other basic, and then I trained in writing elementary scripts.
I set myself simple tasks, for example:
I want you to be able to enter your name in the form, and then display the welcome line with the substitution of the entered name, in all the ways that I learned about.
After you have implemented a task in several ways, compare the implementation options and make a selection of ways to solve the problem that are most concise, flexible and convenient.
To google, google and once again google (well, or whatever your search engine you use there). The more you read articles, documentation, etc. - the greater your money box of knowledge and, accordingly, understanding what and how it works. If something is very tight and it is not clear, then there are plenty of video lessons on various topics and for different levels, there are a lot of them in youtube.com ...
This is not a very bad Russian-language textbook: https://learn.javascript.ru/ - JS used it at the very beginning of its development.
When you feel more confident, after the textbooks, start switching to the documentation or combine both as you master it. The documentation describes in more detail what and how it works. And the textbooks themselves are more an option to start mastering something. In the place with the documentation, I also recommend in parallel to read the article "best practices" (to avoid the so-called govnododerstvo in the society).
The main perseverance, and everything else will come with time.