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