Hey there Red,
What specifically are you having a problem with?
This won’t work:
console.log('Try AfterInsert ' + hookContext);
It should be:
console.log('Try AfterInsert ' + context);
In any case, what are you trying to find out? And what are you trying to accomplish?
Yisrael