Consider the below statement – what will be the output (2)?

23. Consider the below statement – what will be the output?

<div data-ng-app="" data-ng-init="qty=3;">
	<p>The result is: {{qty * price}}</p>
</div>
  1. The result is: Undefined
  2. The result is: 0
  3. The result is: 3
  4. The result is: NaN

Answer: D) The result is: NaN

Explanation:

The output of the above statement is: The result is: NaN

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.