We'll have to create externals for bananas sooner ...
# javascript
e
We'll have to create externals for bananas sooner or later I suppose.
🦜 1
h
Maybe emoji driven programming wasn't the feature we wanted, but the feature we needed.
πŸ˜† 1
a
You are joking, I think it's possible to do right now πŸ˜… With the compiler argument (which will be turned on by default since 2.1):
Copy code
freeCompilerArgs.add("-XXLanguage:+JsAllowInvalidCharsIdentifiersEscaping")
You can do something like this:
Copy code
@JsExport
@JsName("🍌")
val banana = "🍌"

// Or just simple

@JsExport
val `🍌` = "🍌"
😭 2
h
You are joking
🀣 2