Programming in java script

In the section of “Home Automation”
Bolt IoT team already given the javascript commands program in backend i…e… in the source: “https://cloud.boltiot.com/static/js/boltCommands.js” Then we are doing half end work in that case. Is it okay to leave that above-mentioned commands program or else we have to learn that also? If we need to learn that code please anyone gives a detailed explanation of that.
Thanks in advance.

first we are declaring variables.
in digitalwrite() function we are passing pin and value.
based on the current state it will perform operations.

@yogieie231
hlo, I am not asking about that program but i was asking about this:
https://cloud.boltiot.com/static/js/boltCommands.js

@d.niha99
I guess no need to understand that java code if u don’t know java script’,just go through the entire code once , understand the basic commands like innerHTML and other commands based on previous lectures.
Thank you