Created
December 28, 2015 08:51
-
-
Save 2garryn/5d9a00094101a2f4ce8b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var f1 = function() { return 1} | |
undefined | |
var arr = [f1]; | |
undefined | |
arr; | |
[f1()] | |
arr.filter(function(r) { r != f1 }); | |
[] | |
arr; | |
[f1()] | |
var arr2 = arr.filter(function(r) { r != f1 }); | |
undefined | |
arr2; | |
[] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment