Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit 910dba3

Browse files
committed
add vars to njs objects
1 parent e1a6062 commit 910dba3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/scripting.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ are exposed as :program:`njs` objects or scalars:
109109
<https://datatracker.ietf.org/doc/html/rfc3986#section-4.2>`__
110110
("." and "..", "//").
111111

112+
* - **vars**
113+
- Object
114+
- Unit :ref:`variables <configuration-variables>`; vars.method is **$method**.
115+
112116
Template literals are wrapped in backticks.
113117
To use a literal backtick in a string,
114118
escape it: **\\\\`**

0 commit comments

Comments
 (0)