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

파라미터로 들어오는 값이 현재는 고정적이다. (에러처리?) #2

Open
somedaycode opened this issue Jul 29, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@somedaycode
Copy link
Owner

getTimePassed(new Date('20200112').getTime()); // NaN

대시가 없어도 리턴값을 보여주어야 한다.

@somedaycode somedaycode added the bug Something isn't working label Jul 29, 2021
@somedaycode somedaycode self-assigned this Jul 29, 2021
@somedaycode
Copy link
Owner Author

숫자만 들어오면 1970년 값이 나온다.

@somedaycode
Copy link
Owner Author

string 값으로만 해야하는건지 아직 number가 들어왔을 때 어떻게 처리해야하는지 잘 모르겠다.

처음에 로직을 잘못짠거같다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant