var typeOf = obj => Object.prototype.toString.call(obj);typeOf([1]); // "[object Array]"typeOf($([1])); // "[object Object]"$([1]).toArray();

var typeOf = obj => Object.prototype.toString.call(obj);typeOf([1]); // "[object Array]"typeOf($([1])); // "[object Object]"$([1]).toArray();