lib/as_scala.js
function map(arr) {
    var hm = new HashMap();
    Object.keys(arr).forEach(function(k) {
        hm.put(k, arr[k]);
    });
    return convert[syncMethodName("asScalaMap")](hm);
}
function map(arr) {
    var hm = new HashMap();
    Object.keys(arr).forEach(function(k) {
        hm.put(k, arr[k]);
    });
    return convert[syncMethodName("asScalaMap")](hm);
}
function map ( arr ) { var hm = new HashMap ( ) ; Object . keys ( arr ) . forEach ( function ( k ) { hm . put ( k , arr [ k ] ) ; } ) ; return convert [ syncMethodName ( "asScalaMap" ) ] ( hm ) ; }
convert a js object into a map
convert a js object into a map