jsconfig.json
Aktuellste ES Version in IDE festlegen
{
"compilerOptions": {
"target": "es2018"
}
}
Aktuellste ES Version in IDE festlegen
{
"compilerOptions": {
"target": "es2018"
}
}
let foo = ["a", "b", "c", "d", "e", "f"]
let foo1 = []
let foo2 = []
for (const i in foo) {
if (i % 2 === 0) {
foo1.push(foo[i])
}
else {
foo2.p
Anzahl der Zeichen
console.log(foo.length)
Zeichen an Position abfragen