System Verilog Array Methods Javascript Map Function Syntax