Code coverage report for object/hasOwn.js

Statements: 100% (5 / 5)      Branches: 100% (0 / 0)      Functions: 100% (3 / 3)      Lines: 100% (4 / 4)     

All files » object/ » hasOwn.js
1 2 3 4 5 6 7 8 9 10 11 12 131         1 444     1      
define(function () {
 
    /**
     * Safer Object.hasOwnProperty
     */
     function hasOwn(obj, prop){
         return Object.prototype.hasOwnProperty.call(obj, prop);
     }
 
     return hasOwn;
 
});