PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.
Pages
▼
Tuesday, 3 March 2020
JavaScript function to remove duplicates in single dimension array
function removeDuplicatesInSingleDimensionArray(array) {
return array.filter((a, b) => array.indexOf(a) === b)
};
No comments:
Post a Comment