doc: delete variable

This commit is contained in:
Artemy 2022-08-08 18:50:02 +03:00
parent 9da82cde2a
commit c6251e3fb1
2 changed files with 21 additions and 3 deletions

View file

@ -138,3 +138,17 @@ works only with numbers (and variables with number type)
{ print: ["Bye, ", { var: "name" }, "!"] },
]
```
## Delete variable
```json5
[
{
let: {
name: { input: "Your name: " },
},
},
{ print: ["Bye, ", { var: "name" }, "!"] },
{ delete: "name" }, //deletes variable from memory
]
```