var abc = '123'
var def = '456'
need to write somefuntion()
which convert variable name into string
like
alert ("value of" +somefuntion(abc) +"is"+ abc +"and value of" +somefuntion(def)+" is"+def );
should be like this
alert ("value of abc is 123 and value of def is 456")
i have searched and tried few solution and idk how this link can help cuz i know you will say its duplicate but i tried it and it didnt work