Syntax: Arrays / Lists in Scala. • ID: #45 Code const items = [19, 20, 21]; console.log(items.map(x=>x*2)); Notes You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests. ← Prev Next →