JavaScript code formatting
Try to format the following line of JavaScript:
_logTime(sMethod, _startTime, new Date().getTime(), args);
What you get is:
_logTime(sMethod, _startTime, newDate().getTime(), args);
The new and Date were combined producing bad code.
Amnon
请先登录再写评论。