more docs...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-04-25 01:52:00 +03:00
parent f5d205f273
commit ba185abada

View File

@ -209,6 +209,24 @@ Constructor(<name>, <class-prototype>, <prototype>)
-> <constructor>
```
Shorthand to `Constructor(..)`
```
C(<name>, ..)
-> <constructor>
```
## Utilities
Align text to shortest leading whitespace
```
normalizeIndent(<text>)
normalizeIndent(<text>, <tab-size>)
-> <text>
```
This is used to format `.toString(..)` return values for nested functions
to make source printing in console more pleasant to read.
## License