mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
docs(minErr): improve $parse/isecfn
This commit is contained in:
parent
e21f252aa7
commit
e38bf59aab
1 changed files with 2 additions and 3 deletions
|
|
@ -3,9 +3,8 @@
|
|||
@fullName Referencing Function Disallowed
|
||||
@description
|
||||
|
||||
Occurs when an expression attempts to access the 'Function' object.
|
||||
Occurs when an expression attempts to access the 'Function' object (constructor for all functions in JavaScript).
|
||||
|
||||
AngularJS bans access to Function from within expressions since constructor
|
||||
access is a known way to execute arbitrary Javascript code.
|
||||
Angular bans access to Function from within expressions since constructor access is a known way to execute arbitrary Javascript code.
|
||||
|
||||
To resolve this error, avoid Function access.
|
||||
|
|
|
|||
Loading…
Reference in a new issue