ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 25,765
- Points
- 823
Reputation:
For an example, let's add {{ dump(vars())) }} to the forum_mark_read template.
Result:
Spoiler: Error
When using jQuery, we used the $.globalEval method. This method works differently than the javascript eval() method, this method is executed inside the global context.
In strict mode, eval() has its own lexical environment. Therefore, functions and variables declared inside eval() cannot be seen from the outside.
To execute a line of code using eval in global scope, I suggest using...
Read more
Continue reading...
Result:
Spoiler: Error
When using jQuery, we used the $.globalEval method. This method works differently than the javascript eval() method, this method is executed inside the global context.
In strict mode, eval() has its own lexical environment. Therefore, functions and variables declared inside eval() cannot be seen from the outside.
To execute a line of code using eval in global scope, I suggest using...
Read more
Continue reading...