Question from the AngularJS test

What is the value of the variable 'name' in the following code? ``` var name = 'John'; function myFunction() { console.log(name); } ```

Hard

When the user clicks on a button with an ngClick directive, AngularJS evaluates the associated expression and then checks the watches :

Author: Mathieu RobinStatus: PublishedQuestion passed 88 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!