You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							10 lines
						
					
					
						
							384 B
						
					
					
				
			
		
		
	
	
							10 lines
						
					
					
						
							384 B
						
					
					
				var metadata = require('./_metadata');
 | 
						|
var anObject = require('./_an-object');
 | 
						|
var ordinaryGetOwnMetadata = metadata.get;
 | 
						|
var toMetaKey = metadata.key;
 | 
						|
 | 
						|
metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {
 | 
						|
  return ordinaryGetOwnMetadata(metadataKey, anObject(target)
 | 
						|
    , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
 | 
						|
} });
 |