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.
		
		
		
		
		
			
		
			
				
					13 lines
				
				453 B
			
		
		
			
		
	
	
					13 lines
				
				453 B
			| 
											3 years ago
										 | 'use strict'; | ||
|  | // 22.1.3.13 Array.prototype.join(separator)
 | ||
|  | var $export = require('./_export'); | ||
|  | var toIObject = require('./_to-iobject'); | ||
|  | var arrayJoin = [].join; | ||
|  | 
 | ||
|  | // fallback for not array-like strings
 | ||
|  | $export($export.P + $export.F * (require('./_iobject') != Object || !require('./_strict-method')(arrayJoin)), 'Array', { | ||
|  |   join: function join(separator) { | ||
|  |     return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator); | ||
|  |   } | ||
|  | }); |