mirror of
				https://scm.univ-tours.fr/22107988t/rappaurio-sae501_502.git
				synced 2025-11-04 17:15:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			239 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			239 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
# has
 | 
						|
 | 
						|
> Object.prototype.hasOwnProperty.call shortcut
 | 
						|
 | 
						|
## Installation
 | 
						|
 | 
						|
```sh
 | 
						|
npm install --save has
 | 
						|
```
 | 
						|
 | 
						|
## Usage
 | 
						|
 | 
						|
```js
 | 
						|
var has = require('has');
 | 
						|
 | 
						|
has({}, 'hasOwnProperty'); // false
 | 
						|
has(Object.prototype, 'hasOwnProperty'); // true
 | 
						|
```
 |