what is mean by const freeError = {...error}; code example
Example 1: how to dec are a constant in javascript
const myBirthday = '18.04.1982';
Example 2: constants in js
static methodName() { ... }
static propertyName [= value];
const myBirthday = '18.04.1982';
static methodName() { ... }
static propertyName [= value];