JavaScript

JavaScript was created as a browser-only language to integrate with HTML/CSS, but nowadays it is used on various devices.

JavaScript in browser

JavaScript in browser is configured to be safe to the users. Therefore, it cannot do the following.

Directory and file naming

We use kebab-case for both directory and JavaScript file naming.

JavaScript Object Notation (JSON)

JSON is the native data format for JavaScript.

We use camelCase for JSON field names because of its consistency with JavaScript variable names.

Execution flow

  1. The JavaScript engine reads, parses, and compiles the script into machine code.
  2. The engine executes the machine code.

Memory management

Dependency management

References

←Previous Next→