Can anyone tell me what this line does in Typescript?
let Xrm: any = window["Xrm"];
*This post is locked for comments
Can anyone tell me what this line does in Typescript?
let Xrm: any = window["Xrm"];
*This post is locked for comments
Hello,
Here is what directive let mean - basarat.gitbooks.io/.../let.html and what the difference compared to var.
What your code does is defining of new variable and assigning window["Xrm"] to it.
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
52
dkrishna
6