I saw a function in a file, Something like this..
! function(e) {
if ("object" == typeof exports && "undefined" != typeof module) module.exports = e();
else if ("function" == typeof define && define.amd) define([], e);
else {
var f;
"undefined" != typeof window ? f = window : "undefined" != typeof global ? f = global : "undefined" != typeof self && (f = self), f.kwsUtils = e()
alert('Inside the function....e is '+e);
}
}
When I try the same thing in my NodeJS file, the function is not called, Do tell if you have any idea what these functions are called and how are they called.