mirror of
				https://github.com/flynx/object.js.git
				synced 2025-10-31 03:20:09 +00:00 
			
		
		
		
	fixed docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									a127225f67
								
							
						
					
					
						commit
						935f0e01fa
					
				| @ -54,7 +54,7 @@ var A = new object.Constructor('A') | ||||
| 
 | ||||
| 
 | ||||
| In _JavaScript_ constructor `B` inherits from constructor `A` iff  | ||||
| `B.prototype` is _prototype_ of `A.prototype`. So to implement inheritance  | ||||
| `A.prototype` is _prototype_ of `B.prototype`. So to implement inheritance  | ||||
| we simply need to _link_ the prototypes of two constructors via `.__proto__`, | ||||
| `Object.create(..)` or other means. | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user