System Verilog Array Methods Javascript Map Vs Array In Python