Answer the question
In order to leave comments, you need to log in
Arch: how to fix asterisks and other characters in text?
I installed the system typically, installed the ttf-liberation font, set Liberation Sans everywhere in the LXDE settings, then asterisks and similar characters began to appear in the text instead of text. I can't find what is the reason. Thank you.
Answer the question
In order to leave comments, you need to log in
function findUniq(arr) {
arr = arr.sort();
if (arr[1] === arr[0]) {
return arr[arr.length - 1];
}
return arr[0];
}
let arr = [ 3,3,3,3,2 ]
let main_digit = ( arr.reduce( (a,b) => a + b, 0 ) / arr.length ).toFixed(0)
let excess_digit = ( arr.filter( ( item, index ) => item != main_digit ))[0]
console.log( excess_digit )
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question