Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Whenever I write
I can't seem to find the prop property , when I try to view func in console.
prop
func
Where does the prop property go and How does the property setting work?
func.prop
prop is being defined on the func function reference.
To access the property use func.prop or do console.dir(func) will show the property in the property tree
console.dir(func)
Add a comment
IMO the following is is more intuitive than console.dir:
console.dir
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
func.prop.But where is it set?