employer cover photo
employer logo
employer logo

Stratus Data Systems

Is this your company?

Stratus Data Systems interview question

Should you use User Agent to see if a javascript api is available (examples: Audio class, history.pushState)?

Interview Answer

Anonymous

19 Feb 2016

It took me a while to remember what a User Agent is, but my answer is something like "No, you should check if the feature is available and if it is not available, use a fallback regardless of the browser that is being used."