Presumably this won't work either, because it will throw an exception when Intl isn't defined.   Does it work for you?

You could say `typeof Intl === "undefined"`.