mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	| @@ -667,12 +667,12 @@ class JSInterpreter: | ||||
|                     self.interpret_expression(v, local_vars, allow_recursion) | ||||
|                     for v in self._separate(arg_str)] | ||||
| 
 | ||||
|                 if obj == str: | ||||
|                 if obj is str: | ||||
|                     if member == 'fromCharCode': | ||||
|                         assertion(argvals, 'takes one or more arguments') | ||||
|                         return ''.join(map(chr, argvals)) | ||||
|                     raise self.Exception(f'Unsupported String method {member}', expr) | ||||
|                 elif obj == float: | ||||
|                 elif obj is float: | ||||
|                     if member == 'pow': | ||||
|                         assertion(len(argvals) == 2, 'takes two arguments') | ||||
|                         return argvals[0] ** argvals[1] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sepro
					sepro