Skip to content

Comments

Empty array not empty array#151

Open
Sorkanius wants to merge 2 commits intobrianleroux:masterfrom
Sorkanius:empty-array-not-empty-array
Open

Empty array not empty array#151
Sorkanius wants to merge 2 commits intobrianleroux:masterfrom
Sorkanius:empty-array-not-empty-array

Conversation

@Sorkanius
Copy link

No description provided.

@amrsalama
Copy link

amrsalama commented Apr 13, 2019

@Sorkanius This is should be okay

[] === [] // false

This is actually means "New empty array object not equal another new empty array object".
This is a comparison of 2 refrenances (2 places in memory).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants