Daha sonra değişkenlerden bahsedeceğiz, ancak şimdiden belirtmeliyiz ki JavaScript'te değer atamadan da değişken tanımlamak mümkündür.
We'll talk about variables later, but in JavaScript it is possible to declare a variable without assigning a value to it.
Dizeler değer türleri değildir, ancak Javascript'te değer türleri gibi davranırlar, bu nedenle dizedeki karakterler aynı olduğunda ve aynı uzunlukta olduklarında (üçüncü kuralda açıklandığı gibi) "eşit" olurlar
Strings are not value types, but in Javascript they behave like value types, so they will be "equal" when the characters in the string are the same and when they are of the same length (as explained in the third rule)
Other results
JavaScript'te bu, aynı değer ve tür anlamına gelir.
JavaScript'te, ilkel değerler değer olarak ve nesneler/diziler referans olarak iletilir.
In JavaScript, primitives are copied by value, and objects are copied by reference.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.