Skip to content
This repository has been archived by the owner on May 10, 2020. It is now read-only.

falsy значения в предикатах #3

Closed
ab-5v opened this issue Aug 1, 2012 · 0 comments
Closed

falsy значения в предикатах #3

ab-5v opened this issue Aug 1, 2012 · 0 comments

Comments

@ab-5v
Copy link
Owner

ab-5v commented Aug 1, 2012

когда проверяем .foo[.bar]

нужно в предикате возвращать false не только, когда совйства .bar нет, но и когда оно содержит:

false
null
undefined
[]

по мотивам pasaran/yate#26

@ab-5v ab-5v closed this as completed in 9b50d19 Aug 1, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant