Почему неработает стрелочная функция в map?
let prices = $('input[name="prices[]"]').map(function() { return this.value }).get();
let prices2 = $('input[name="prices[]"]').map(e => this.value).get();
console.log(prices);
console.log(prices2);
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<input name="prices[]" value="1000">
<input name="prices[]" value="2000">