In assert.AssertionError, for some reason options.startStackFunction got renamed to options.startStackFn from v8.x to v10.x
This means you have to do var e = new AssertionError({ startStackFn: fn, startStackFunction: fn }) to have code that works across both versions of nodejs.
This seems like an unnecessary breaking change :( is there no policy or code review for API stability ?