Man sollte immer prüfen, ob der Rückgabewert ein String oder ein Array ist.
You should always check whether the returned value is a string or array.
Bei der neuen Map ist es jedoch nun so, dass der Parameter-Wert - abhängig von der genutzten Methode - entweder ein String oder ein Array-of-String ist.
With the new map, however, the parameter value is either a string or an array of strings, depending on the method used.
Manchmal möchte man Array-Methoden auf Strings oder andere Array-ähnliche Objekte anwenden (z. B. auf Argumente von Funktionen).
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.