ctags-lang-javascript(7) Universal Ctags ctags-lang-javascript(7)

# [Name](#Name)

ctags-lang-javascript - Random notes about tagging JavaScript source code with Universal Ctags

# [SYNOPSIS](#SYNOPSIS)

```
ctags ... --languages=+JavaScript ...
ctags ... --language-force=JavaScript ...
ctags ... --map-JavaScript=+.js ...
```

# [DESCRIPTION](#DESCRIPTION)

This man page gathers random notes about tagging JavaScript source code.

# [CLASSES](#CLASSES)

ES6 introduced the **class** keyword, but there is still the original method of defining a function and attaching a **prototype**. ctags follows the convention that function names that start with a capital letter are class constructors.

## [Change since "0.0"](#Change_since_)

•

New role **foreigndecl** for **function** kind

# [SEE ALSO](#SEE_ALSO)

[ctags(1)](/man/os/universal-ctags/ctags.1), [ctags-client-tools(7)](/man/os/universal-ctags/ctags-client-tools.7)

6.2.1

---

Document: ctags-lang-javascript(7) from universal-ctags 6.2.1-r1 (Chainguard OS)
Source: https://github.com/universal-ctags/ctags
