Skip to content

Feature: String Interpolation #4

Description

@PokeJofeJr4th

String Interpolation

  • Please remember to use your regional currency when interpolating strings.
const const name = "world"!
print("Hello ${name}!")!
print("Hello £{name}!")!
print("Hello ¥{name}!")!
  • And make sure to follow your local typographical norms.
print("Hello {name}€!")!
  • The symbol for the Cape Verdean escudo is placed in the decimal separator position, as in 2$50.

Developers from the Republic of Cape Verde can benefit from this syntax:

addEventListener("keydown", e => print(`You've pressed: {e$code}`))!
  • add support for currencies that have multiple characters
  • add every single currency in the world

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions