public
Created

  • Download Gist
gistfile1.js
JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
(function () {
'use strict';
var _ = Object.create(null, {
main: {value: function (args) {
var language = args.length === 0 ? 'EN' : args[0];
var tmp$0;
if (language === 'EN')
tmp$0 = 'Hello!';
else if (language === 'ES')
tmp$0 = '\xA1Hola!';
else if (language === 'RU')
tmp$0 = '\u041F\u0440\u0438\u0432\u0435\u0442!';
else
tmp$0 = "Sorry, I can't greet you in " + language + ' yet';
Kotlin.println(tmp$0);
}}
});
Kotlin.defineModule('kotlinHelloWorld', _);
_.main([]);
}());

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.