Assertion: function | /r/HasProperty | defined in javascript
Facets:
value: based on a condition
type: CAUSE
Source sentences:
text: In JavaScript, a function can be defined based on a condition.