Where is the error in the code?

  • 0
    Error somewhere in this place:
    async removeCar(car) {
          const { id } = car;
          const response = await fetch('${id}/',

    68:15 error 'id' is assigned a value but never used no-unused-vars
    JavaScript Anonymous, Nov 7, 2020

  • 1 Answers
  • 0
    Written: variable 'id' is set but not used. You are using wildcard string syntax on a regular string. Replace `` with ''

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!