function nonEnumerablePropertySymbolsIn( value ) { // eslint-disable-line id-length
	var symbols;
	var cache;
	var obj;
	var tmp;
	var k;
	var i;

	if ( value === null || value === void 0 ) {
		return [];
	}
	// Cast the value to an object:
	obj = Object( value );

	// Walk the prototype chain collecting all non-enumerable symbol properties...
	symbols = [];
	cache = {};
	do {
		tmp = getOwnPropertySymbols( obj );
		for ( i = 0; i < tmp.length; i++ ) {
			k = tmp[ i ];
			if (
				hasOwnProp( cache, k ) === false &&
				isNonEnumerableProperty( obj, k )
			) {
				symbols.push( k );
			}
			cache[ k ] = true;
		}
		obj = getPrototypeOf( obj );
	} while ( obj );

	return symbols;
}
Returns an array of an object's own and inherited non-enumerable symbol properties.

@param {*} value - input object
@returns {Array} a list of own and inherited non-enumerable symbol properties

@example
var symbols = nonEnumerablePropertySymbolsIn( {} );