Home > Q&A > body text
How to call the toString method? ? ? Ask God for answers
高洛峰2017-05-19 10:11:59
1.
2.
滿天的星座2017-05-19 10:11:59
Override toString on function prototype
PHP中文网2017-05-19 10:11:59
fun is a method, but it is also an object.
You can try:fun.a = 123;console.log(fun.a);