Estoy leyendo algunos códigos y me di cuenta de que siempre después de esto una coma y agregué, nunca había visto algo así. ¿Por qué usar la coma, y esta coma es solo para facilitar la lectura?
Normalmente lo hago de esta manera:
var break__ = Breakpoints_.prototype; break__.initialize = function () { this._breakpoint = null; this._lastBreakpoint = null; this._handleOldIE(); this._breakpointOrder = this._setBreakpointOrder(); this._isOldIE || this._handleResize(); }Y estoy notando algunos códigos como este:
var break__ = Breakpoints_.prototype; break__.initialize = function () { this._breakpoint = null, this._lastBreakpoint = null, this._handleOldIE(), this._breakpointOrder = this._setBreakpointOrder(), this._isOldIE || this._handleResize() }¿Debo usar comas o punto y coma? y ¿cuál es la función de estas comas?