猿问

前端js获取对象中的值

{"type":"line","x1":429,"y1":135,"x2":374,"y2":182,"x3":432,"y3":220,"x4":559,"y4":306,"x5":605,"y5":191,"x6":458,"y6":100}
我该如何从对象中获得x,y的所有的值以及最大值与最小值?

慕森卡
浏览 1769回答 1
1回答
随时随地看视频慕课网APP

相关分类

JavaScript
我要回答