紧急跪求!!!坐等!!!
function calcDistance( loc1 , loc2 ){ return Math.sqrt((loc1.x - loc2.x)*(loc1.x - loc2.x) + (loc1.y - loc2.y)*(loc1.y - loc2.y)) } 这段代码一直报错。说X的值不能读取!!跪求大神解决!!
function calcDistance( loc1 , loc2 ){ return Math.sqrt((loc1.x - loc2.x)*(loc1.x - loc2.x) + (loc1.y - loc2.y)*(loc1.y - loc2.y)) } 这段代码一直报错。说X的值不能读取!!跪求大神解决!!
2016-07-18
举报