Why can’t I declare multiple const in JavaScript? September 17, 2023 by Tarik Because a const declaration has to be initialized as well. This will work: const foo = 1, bar = 2;