Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-10-12 14:28:41 +03:00
parent 076d05ba7a
commit 664c73ac1c

View File

@ -1518,7 +1518,9 @@ module.Types = {
// basic compare... // basic compare...
// XXX do we need to differentiate things like: new Number(123) vs. 123??? // XXX do we need to differentiate things like: new Number(123) vs. 123???
// XXX do we need to maintain context here??? // XXX we need to maintain the context here...
// ...do we need two contexts here??? -- walk(..) has it's
// context + the pattern also has a context...
var cmp = function(a, b){ var cmp = function(a, b){
// NOTE: we can't use a == b directly because of things like // NOTE: we can't use a == b directly because of things like
// [2] == 2 -> true... // [2] == 2 -> true...