how to tell if a javascript variable is a function

后端 未结 0 1663
名媛妹妹
名媛妹妹 2021-02-11 19:06

I need to loop over the properties of a javascript object. How can I tell if a property is a function or just a value?

var model =
{
    propertyA: 123,
    pro         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题