All Downloads are FREE. Search and download functionalities are using the official Maven repository.

static.js.vendor.modernizr.src.toStringFn.js Maven / Gradle / Ivy

The newest version!
define(function() {
  /**
   * Object.prototype.toString can be used with every object and allows you to
   * get its class easily. Abstracting it off of an object prevents situations
   * where the toString property has been overridden
   *
   * @access private
   * @function toStringFn
   * @returns {function} An abstracted toString function
   */

  var toStringFn = ({}).toString;
  return toStringFn;
});




© 2015 - 2025 Weber Informatics LLC | Privacy Policy