# JavaScript

To define **JavaScript** as the **target language** in a template file :

```
#set( $env.language = 'JavaScript' )
```

JavaScript is a dynamically-typed language, with **no type** in the source code. \
Therefore, the type conversion always return a void string.

For a detailed description with literal values examples, see the generated documentation : \
&#x20; <https://www.telosys.org/doc/latest/languages/language-javascript.html>&#x20;

Only literal values are affected by the current target language.

|       | Javascript  literal |
| ----- | ------------------- |
| TRUE  | **true**            |
| FALSE | **false**           |
| NULL  | **null**            |
