Zeitpunkt Nutzer Delta Tröts TNR Titel Version maxTL Sa 06.07.2024 00:00:28 51.030 +43 2.171.323 42,5 Vivaldi Social 4.2.10 1.337 Fr 05.07.2024 00:00:08 50.987 +26 2.167.586 42,5 Vivaldi Social 4.2.10 1.337 Do 04.07.2024 00:00:11 50.961 +42 2.163.949 42,5 Vivaldi Social 4.2.9 1.337 Mi 03.07.2024 00:00:04 50.919 +42 2.160.792 42,4 Vivaldi Social 4.2.9 1.337 Di 02.07.2024 00:01:14 50.877 +42 2.156.674 42,4 Vivaldi Social 4.2.9 1.337 Mo 01.07.2024 00:01:17 50.835 +40 2.153.375 42,4 Vivaldi Social 4.2.9 1.337 So 30.06.2024 00:00:05 50.795 +42 2.150.142 42,3 Vivaldi Social 4.2.9 1.337 Sa 29.06.2024 00:03:01 50.753 +38 2.148.751 42,3 Vivaldi Social 4.2.9 1.337 Fr 28.06.2024 00:04:34 50.715 +56 2.144.639 42,3 Vivaldi Social 4.2.9 1.337 Do 27.06.2024 00:00:09 50.659 0 2.144.966 42,3 Vivaldi Social 4.2.9 1.337
pelavarre (@pelavarre) · 11/2022 · Tröts: 1.774 · Folger: 59
Sa 06.07.2024 21:15
same Issue of what does Sort mean, but at default JavaScript of macOS Google Chrome =>
open an empty .html File in Chrome
press ⌥⌘J
to show Chrome > View > Developer > JavaScript Console
find the "> " prompt, maybe faded to low contrast, at lower left of a mess of upper right controls
the Js Default Sort is a String Sort
some = [3, 50, 100] // (3) [3, 50, 100]
some // still (3) [3, 50, 100]
some.sort() // sorted as string (3) [100, 3, 50]
some.sort((a, b) => a - b) // sorted as number (3) [3, 50, 100]
you can ask Js for an Number Sort
some.reverse() // (3) [100, 50, 3]
some.sort(
(a, b) => {
if (a > b) return +1
if (b > a) return -1
return 0
}
) // (3) [100, 50, 3]
people talking this over rabbit-trail into "const" or "let" or "list"
or into "console.log" or into "console.info"
someone random reported getting odd results, odd results that don't repro for me at my desk, from rudely sorting strings with the sort key chosen to subtract the strings as if they were numbers
"pdfa" - "pdfb" // NaN
RT https :// twitter . com/emil_priver/status/1809366742923374982
[Öffentlich] Antw.: 0 Wtrl.: 0 Fav.: 0 · via Web