→ dreamerslab:沒辦法,因為你是把一個匿名function指派給fns.MethodA 02/10 12:47
請問假如我有一個object長這樣
var fns = {
MethodA : function() {
//alert(???); 在這邊取得MethodA的字串
}
};
請問有辦法在MethodA裡面取得他對應的Property Name嗎(MethodA)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.30.44.101