U
U
Uniq2018-02-17 00:46:44
JavaScript
Uniq, 2018-02-17 00:46:44

Fetch and getting js data?

I get dynamic pages with a fetch request (normal html ) -
it contains scripts, for example, why doesn't all the js that I get through loading work? functions variables and so on <script> var e = 1;</script>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
davidnum95, 2018-02-17
@davidnum95

Because it's just text, if you want to execute it, you need to use eval

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question