public static void putProperty ( Scriptable obj , Symbol key , Object value ) { Scriptable base = getBase ( obj , key ) ; if ( base == null ) base = obj ; ensureSymbolScriptable ( base ) . put ( key , obj , value ) ; }
This is a version of putProperty for Symbol keys .