See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
'use strict'; | |
let movePoints = (offset, points) => { | |
points.forEach((point) => { | |
const type = typeof point; | |
if (type === 'object') { | |
point.x += offset.x; | |
point.y += offset.y; | |
} else { | |
let i = points.indexOf(point); |