Skip to content
This repository was archived by the owner on Jan 30, 2021. It is now read-only.

String.vars

Alper Kürşat edited this page May 24, 2018 · 1 revision

'String that contains variable$' .vars( Object{Variable:'String' } )

Interpolates String that contains variables like VariableName$

You can use ₺,₸,₼,$ symbols to define variable

let Say="Welcome to Otag name₺ lastname$".vars({
    name:'Kapgan'
    ,lastname:'Khan'
});

Say: Welcome to Otag Kapgan Khan

Clone this wiki locally