How to determine that a JavaScript function is native (without testing '[native code]')

https://pretagteam.com/question/how-to-determine-that-a-javascript-function-is-native-without-testing-native-code

See console

this technique won't work on CSSStyleSheet.prototype.insertRule=function(rule){...);