Question d’entretien chez Hacktiv8

How react works? Please explain how javascript works?