1、
js的内置对象:
// 内置对象的类名
var strClassName = Object.prototype.toString.call(_event.target).match(/\[object (.*?)\]/)[1];
2、
1、
js的内置对象:
// 内置对象的类名
var strClassName = Object.prototype.toString.call(_event.target).match(/\[object (.*?)\]/)[1];
2、
转载于:https://www.cnblogs.com/codeskilla/p/5017845.html