pissang commented on issue #14358:
URL: https://github.com/apache/echarts/issues/14358#issuecomment-786555159


   嗯,因为代码会有一定的容错处理,有些是有意的,有些是无意的,比如这个例子中是因为第三项没有用到被忽略了所以什么类型都能正常渲染。
   
   通常来说类型会有更严格的约束来替代一些代码中不好做的检查。比如检查每个数据格式是否合法,这个如果是代码逻辑判断,可能会带来很多额外的开销以及代码体积


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to