Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 632 Bytes

docs.md

File metadata and controls

37 lines (24 loc) · 632 Bytes

TypoScript Documentation

TypoScript is JavaScript-like language with typos. Some typos in variable and function names are acceptable.

Is it really ok?

About 25% typos is within an acceptable range. However, it is limited to variables and functions. Not allowed with syntax keywords.

Supported syntax

supported

  • if
  • for
  • var
  • function

yet not supported

  • Array
  • Object
  • Scope of variable
  • ES2015 or later syntax
  • and more!

Native method

print(str : string) : void

Outputs the string to the console.

prompt(mesage : string,default_value :object) : string

Receives input from the user.