Web technologies Questions | jQuery Quiz | Set-3 | Question 11
Find the context of assigning a value from the below code snippets:
variable: var geeks = this. In TypeScript
(A) printScope => console.log this
(B) geek = this printScope -> console.log geek
(C) printScope => console.log @
(D) All of the following
Answer: (D)
Explanation: The context of assigning value is printScope => console.log this , geek = this printScope -> console.log geek , printScope => console.log @ .
Quiz of this Question
Please comment below if you find anything wrong in the above post
Last Updated :
20 Sep, 2021
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...