Kanlang web editor

type Celsius alias num
type Fahrenheit alias num
type Kelvin alias num

(f: Fahrenheit): Celsius {
return f - 32 * 5 / 9 as Celsius; 
}
(c: Celsius): Kelvin {
return c - 273 as Kelvin;
}
(f: Fahrenheit): Kelvin {
return *Kelvin;
}
(): SysCode {
msg := "hello" as LogMsg; *LogResult;
return true as SysCode;
}
function FilePath___FileContent(f) { return require('fs').readFileSync(f, 'utf-8'); }
function LogMsg___LogResult(msg) { console.log(msg); }
function num___NumericString(i) { return "" + i }
function string_SplitOperator___Array_SubString(a, b) { return a.split(b) }
function PrefixString_SuffixString___StringConcat(a, b) { return a + b }
function string___StringLength(a) { return a.length }
function Fahrenheit___Celsius(f){
return f - 32 * 5 / 9;}
function Celsius___Kelvin(c){
return c - 273;}
function Fahrenheit___Kelvin(f){


return Celsius___Kelvin(Fahrenheit___Celsius(f));}
function __SysCode(){
let msg = "hello";


LogMsg___LogResult(msg);
return true;}
__SysCode();
		
hello