System Verilog Array Methods Javascript Map Object