I'm using ffmpeg.wasm in my site but it only works if the browser supports SharedArrayBuffer. Is there a simple way to test using javascript (browser js or nodejs) if the browser has support to it? One solution I thought was to compare the user agent with the list offered in this website but this would be too verbose and I'm guessing if there isn't a simpler way?