---
name: "ctags-lang-javascript"
section: "7"
platform: "linux"
package: "ctags"
version: "1:6.2.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ctags-lang-javascript"
---

# ctags-lang-javascript(7)

Random notes about tagging JavaScript source code with Universal Ctags

## Name

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

## SYNOPSIS

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

## DESCRIPTION

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

## 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"

- •

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

## SEE ALSO

[ctags(1)](/ctags/1.md), [ctags-client-tools(7)](/ctags-client-tools/7.md)
