namespace AdhocMapping { let numbers = [ 1 , 2 , 3 , 4 , 5 ] ; let squares = [ ] ; for ( const n of numbers ) { squares . push ( n * n ) ; } let strings = [ "apple" , "orange" , "peach" ] ; let lengths = [ ] ; for ( const s of strings ) { lengths . push ( s . length ) ; } }