How to Check Which JavaScript Runtime Is Running Your Code

  • Most of the time you should not even check for the runtime. Instead you should check for the specific feature support that you want to use.