// JavaScript - méthodes chaînables const result = numbers .filter(n => n > 2) .map(n => n * 2) .reduce((acc, n) => acc + n, 0);