JavaScript was developed for web pages that serve as an extension to HTML and CSS, allowing web pages to change dynamically. Today, a web page won´t work without JavaScript, as many functions require the script language to provide the best possible user experience. JavaScript can be enabled or disabled in the settings of the
browser app on the Huawei smartphone at any time.

Android 10 | EMUI 10.0
JavaScript -  Open the  Browser app
JavaScript -  Open the  menu
JavaScript -  Open the  Settings
JavaScript -  Tap on  Site settings
JavaScript -  Tap on  JavaScript
JavaScript -  Enable or disable  JavaScript
  1. Open the Browser app
  2. Open the menu
  3. Open the Settings
  4. Tap on Site settings
  5. Tap on JavaScript
  6. Enable or disable JavaScript

Huawei Instructions