Ok. I just wanted to share the jsperf.  I can't find the deprecation warning on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr 

How of curiosity, do you have a pointer ?