better logs
This commit is contained in:
parent
c9db599d87
commit
841da793e5
1 changed files with 1 additions and 3 deletions
|
@ -36,7 +36,7 @@ const updateConst = () => {
|
||||||
|
|
||||||
getString().textContent = firstname.replace(/^\w/, (c) => c.toUpperCase());
|
getString().textContent = firstname.replace(/^\w/, (c) => c.toUpperCase());
|
||||||
getDouble().textContent = data.const;
|
getDouble().textContent = data.const;
|
||||||
console.log(`info: ${JSON.stringify(data.infos)}`);
|
console.log(`info: ${JSON.stringify(data.infos, undefined, 2)}`);
|
||||||
} else {
|
} else {
|
||||||
defaultFirstname();
|
defaultFirstname();
|
||||||
defaultConstant();
|
defaultConstant();
|
||||||
|
@ -66,8 +66,6 @@ const defaultConstant = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const getConst = (letters = Array) => {
|
const getConst = (letters = Array) => {
|
||||||
console.log(`input: ${letters}`);
|
|
||||||
|
|
||||||
// Store constants of each letters of the firstname
|
// Store constants of each letters of the firstname
|
||||||
let const_data = [];
|
let const_data = [];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue