• Tasks JavaScript
  • task87 (Test suite failed to run SyntaxError: Unexpected token (7:7))

/**
 * Create 5 constants.
 *
 * Choose any names you like.
 * */

const a, b, c, d, e;
5 days later

Coderslang_Master Do you mean to assign values?

It gave me
❌ 1. You should decalte 5 contants in the file 'solution.js'
with the code.

const a = 1
    , b = 1
    , c = 1
    , d = 1
    , e = 1;

It passed only with
✔️ 1. You should declare 5 constants in the file 'solution.js'

const a = 1;
const b = 1;
const c = 1;
const d = 1;
const e = 1;
Write a Reply...