The tools module
Methods
-
static htmlEntities(str) → {String}
-
Transform HTML reserved characters to their equivalent codes in HTML.
for example: "<" is transformed to "<".Parameters:
Name Type Description str
String normal string Returns:
String - skip string -
static readMorse(morse)
-
Read morse code and output as sound
Parameters:
Name Type Description morse
String morse code written using ".", "-" and blacks " ". Example
readMorse("..-. .-- ..-.");