We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
変更可能なオブジェクト
可変オブジェクト
Default values are calculated, once, when the function is defined; thus, a mutable object such as a list or dictionary used as default value will be shared by all calls that don't specify an argument value for the corresponding slot; this should usually be avoided.
Objects whose value can change are said to be mutable; objects whose value is unchangeable once they are created are called immutable.(The value of an immutable container object that contains a reference to a mutable object can change when the latter's value is changed;however the container is still considered immutable, because the collection of objects it contains cannot be changed.
When a target is part of a mutable object (an attribute reference, subscription or slicing), the mutable object must ultimately perform the assignment and decide about its validity, and may raise an exception if the assignment is unacceptable.
This is especially important to understand when a default parameter is a mutable object, such as a list or a dictionary: if the function modifies the object(e.g. by appending an item to a list), the default value is in effect modified.
This problem isn't even unique to React - you can reproduce it in any UI library that puts data into a mutable object like this.
この問題はReactに特有の問題ではありません。 - this のようなミュータブルなオブジェクトにデータを置くあらゆるUIライブラリでも再現できる問題です。
SV.EXPOSE.STORE | Rogue Wave - Documentation This error is detected when a public method stores a reference to a mutable object. Vulnerability and riskMalicious applet can modify internal state of object by modifying result that returned.
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.