Actions
Bug #4699
closedArrays - affectation
Description
a = [1,2,3]
b = a
b[1] = 10
the content of a : [1, 10, 3]
why the variables a and b point on the same space ?
a.object_id = b.boject_id
Updated by rue (Eero Saynatkari) over 13 years ago
This is a feature, not a bug.
Updated by sorah (Sorah Fukumori) over 13 years ago
- Status changed from Open to Rejected
If a.object_id == b.object_id, this is a feature.
If a.object_id != b.object_id, this is a bug.
Actions
Like0
Like0Like0