chaining assertion is a good tool for should.js, however its document is unclear.
We should tell the user that:
and, with, of, have, be, a. They all dont have any effect but for readability.
property and ownProperty return the property value but not their hosted object. While other assertion just return self.
I dont realize that before, and I think and getter means parallel relationship while with means progressive relationship. Today I read source and know my understand is false.
chaining assertion is a good tool for should.js, however its document is unclear.
We should tell the user that:
property
andownProperty
return the property value but not their hosted object. While other assertion just return self. I dont realize that before, and I thinkand
getter means parallel relationship whilewith
means progressive relationship. Today I read source and know my understand is false.So, I make it clear in README.