Cara Memeriksa Jika Ukuran Jendela Browser S Mengubah JavaScript

$(window).resize(function() {
  console.log('window was resized');
});
Crowded Chicken