Call Us : +91-8376986802 (Viber, WhatsApp)

eval()?



The eval() method is incredibly powerful allowing you to execute snippets of code during execution.

var USA_Texas_Austin = “521,289”;
document.write(“Population is “+eval(“USA_”+”Texas_”+”Austin”));

This produces
Population is 521,289

Leave a Reply