mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
4 lines
86 B
JavaScript
4 lines
86 B
JavaScript
exports.isBrowser = function isBrowser() {
|
|
return typeof window !== 'undefined';
|
|
};
|