Why JavaScript function is used in smart LED project?

Hi,

I am really surprised by the fact that why JS has been used to interface with cloud ?

Please explain me three solid reasons for the same.

Hi, well JavaScript is an object oriented programming language designed to make web based applications easier.Three solid reasons to use Java script are:-
1.It enhances the user experience by creating interactive elements for web pages.
2. Gives greater control over application tasks when we developing web based applications.
3.various types of applications like Games, animations can be created quickly and easily with JavaScript.