Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS 코테를 위한 유틸함수 #74

Open
youngkyo0504 opened this issue Sep 29, 2024 · 0 comments
Open

JS 코테를 위한 유틸함수 #74

youngkyo0504 opened this issue Sep 29, 2024 · 0 comments

Comments

@youngkyo0504
Copy link
Owner

youngkyo0504 commented Sep 29, 2024

템플릿 예시입니다.

title:
full_path: src/pages/.md

function onlyUnique(value, index, array) {
  return array.indexOf(value) === index;
}

// usage example:
var a = ['a', 1, 'a', 2, '1'];
var unique = a.filter(onlyUnique);

console.log(unique); // ['a', 1, 2, '1']

그 외 [you-dont-need You-Dont-Need-Lodash-Underscore: List of JavaScript methods which you can use natively + ESLint Plugin](https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant