I'm having trouble making a function in JavaScript that I pass a string and an object and it fills this string with the attributes of that object, for example:
var user = {
nome: “danilo”,
idade: 29
};
var a = “Meu nome é ${nome}, e t...
asked by
07.08.2015 / 20:37