High order function in script include, accessing the context (this)
Posts on SNow adventures
·
Jun 09, 2020
·
article
In the Service-Now script includes (or in Javascript in general), the context of the `this` in not reachable when using high order function.
This might be obvious for some of you, but it was not for me and I struggled some time to achieve what I wanted in a _clean_ manner. Hence this post.
View original source
https://www.snow-adventures.com/blog/2020-06-09-high-order-function-in-script-include-accessing-the-context-this_/