get value of all checked boxes jquery

JavaScript
var values = $('input[name=grepperRocks]:checked')
               .map(() => { return this.value }).get();
Source

Also in JavaScript: