System Verilog Array Methods Javascript Map Example