Q&A Discussions
Can i write a function outside an object and associate it with multiple different objects sharing some common property upon which the function operates (turning it to a method for all these objects)? If not , whats the use of defining a method outside the object and assigning it to an object property?
4 Votes
4 AnswersHot today
Countdown Test
0 Votes
diary
1 Votes
what is empty tag
0 Votes
Could anyone fix this?
0 Votes
how do i create a code
0 Votes
Leecode?
2 Votes
Fitting
0 Votes