Download for Windows Premium
Flash sale to discover Premium
-50% lifetime on all subscriptions
Advertising
compareFunction

Translation of "compareFunction" in English

We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
compareFunction
Wenn compareFunction(a, b) größer als 0 ist, wird b in einen höheren Index als a sortiert.
If compareFunction(a, b) is greater than 0, sort b to a higher index than a.
Je mehr Arbeit eine compareFunction erledigt und je mehr Elemente zu sortieren sind, desto sinnvoller ist es die Verwendung von map() zum Sortieren in Betracht zu ziehen.
The more work a compareFunction does and the more elements there are to sort, it may be more efficient to use map for sorting.
Ist compareFunction(a, b) gleich 0, bleibt die Reihenfolge von a und b in Bezug zueinander unverändert, werden aber im Vergleich zu den restlichen Elementen des Arrays einsortiert.
If compareFunction(a, b) returns 0, leave a and b unchanged with respect to each other, but sorted with respect to all different elements.
Wenn Sie eine benutzerdefinierte Funktion erstellen möchten, rufen Sie die sort()-Methode auf und verwenden den Namen der benutzerdefinierten Funktion als erstes Argument (compareFunction).
If you create a custom function, you call the sort() method, and use the name of your custom function as the first argument (compareFunction)
Wenn compareFunction(a, b) 0 zurückgibt, bleiben a und b unverändert, sie werden jedoch gegenüber allen anderen Elementen sortiert.
If compareFunction(a, b) returns 0, leave a and b unchanged with respect to each other, but sorted with respect to all different elements.
Wenn compareFunction angegeben wird, werden die Elemente des Arrays nach dem Rückgabewert der Vergleichsfunktion sortiert. Wenn "a" und "b" zwei Elemente sind, die verglichen werden, gilt Folgendes
If compareFunction is supplied, the array elements are sorted according to the return value of the compare function. If a and b are two elements being compared, then
Wenn compareFunction nicht angegeben wird, werden alle Arrayelemente, die nicht undefined sind, sortiert indem sie in Strings konvertiert werden und in UTF-16-Code-Unit-Reihenfolge verglichen werden.
If compareFunction is not supplied, all non-undefined array elements are sorted by converting them to strings and comparing strings in UTF-16 code units order.
Diese Methode verwendet die Syntax und Argumentreihenfolge Array.sort(compareFunction, sortOptions), wobei die Argument wie folgt definiert sind
This method uses the syntax and argument order Array.sort(compareFunction, sortOptions) with the arguments defined as follows
Wenn compareFunction angegeben wird, werden alle Arrayelemente, die nicht undefined sind, nach dem Rückgabewert der Vergleichsfunktion sortiert (alle Elemente die undefined sind werden ans Ende des Arrays sortiert, ohne Aufruf von compareFunction).
If compareFunction is supplied, all non-undefined array elements are sorted according to the return value of the compare function (all undefined elements are sorted to the end of the array, with no call to compareFunction).
Abhängig von der Beschaffenheit der compareFunction, kann dies eine große Belastung (Overhead) hervorrufen.
Depending on the compareFunction's nature, this may yield a high overhead.
Bei gegebenen Elementen A und B kann das Ergebnis von compareFunction einen negativen oder einen positiven oder den Wert 0 haben
Given the elements A and B, the result of compareFunction can have a negative, 0, or positive value
Ist compareFunction(a, b) größer als 0, sortiere b auf einen niedrigeren Index als a, d. h. b kommt zuerst.
If compareFunction(a, b) is greater than 0, sort b to an index lower than a (i.e. b comes first).
Diese Methode verwendet die Syntax und compareFunction - Eine Vergleichsfunktion, mit der die Sortierreihenfolge der Elemente im Array festgelegt wird.
This method uses the syntax and argument order Array.sort(compareFunction, sortOptions) with the arguments defined as follows
No results found for this meaning.

Synonyms and analogies of "compareFunction" in German

Advertising

Suggestions that contain compareFunction

Results: 13. Exact: 13. Elapsed time: 59 ms.

Word index: 1-300, 301-600, 601-900

Expression index: 1-400, 401-800, 801-1200

Phrase index: 1-400, 401-800, 801-1200