K
K
kevus2018-03-04 15:46:41
JavaScript
kevus, 2018-03-04 15:46:41

How to insert text in JS instead of a function?

There is a piece of code

<div class="value">\n            <span>' + e + "</span> " + (arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "") + '\n        </div>


How to use your static text in a span?
Where ' + e + "

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
fomenko_alexandr, 2018-03-04
@fomenko_alexandr

Are you kidding?
https://learn.javascript.ru/eval

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question