That's an interesting question, depends on the support you're expecting.
In this case the desktopCapture API was introduced in Chrome 34 but arrow functions only turned up in version 45 onwards.
You can set a minimum Chrome version in the extension manifest though, which would mean you can set a version that guarantees the JS support that you want.