Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function getSymbols(object) {
if (samsam.isArguments(object)) {
return [];
}
/* istanbul ignore else */
if (typeof Object.getOwnPropertySymbols === "function") {
return Object.getOwnPropertySymbols(object);
}
/* istanbul ignore next: This is only for IE, since getOwnPropertySymbols
* does not exist on Object there
*/
return [];
}