Sometimes you want to figure out what path your code takes when getting executed. This may be helpful for investigating inconsistent behaviour between function calls or finding where exactly in the bundled/minified code your function is located
// Logs the current stack trace of the code, also logs any provided parameters
/*
* YOUR CODE HERE
*/
console.trace(var1, var2);