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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156