@ Override public void put ( String name , Scriptable start , Object value ) { if ( ! isSymbol ( ) ) { super . put ( name , start , value ) ; } else if ( Context . getCurrentContext ( ) . isStrictMode ( ) ) { throw ScriptRuntime . typeError0 ( "msg.no.assign.symbol.strict" ) ; } }
Symbol objects have a special property that one cannot add properties .