sy-paik / javascript-challenge Goto Github PK
View Code? Open in Web Editor NEW자바스크립트를 이용한 실습 레포입니다.
자바스크립트를 이용한 실습 레포입니다.
숫자를 많이 입력하면 스크린을 벗어나는 문제
'+/-' 버튼의 동작이 이상합니다.
'AC'버튼을 눌렀을때 완전 리셋되지 않습니다. (언제 리셋되고 언제 남아있는지 원인을 명확히 알지 못하겠습니다.)
(5 x 5 = AC 10 + 순서대로 입력 시 10 + 로 표시 되지 않고 리셋 전 숫자 25가 남아서 출력됩니다. 그리고 10은 사라지고 25로 계산됩니다.)
'.' Dot 버튼 무한 입력 이슈
'숫자 + 연산자 + 숫자 + Equal '로 정상 수식 계산 하고 다시 숫자 입력 시, 새로운 숫자 입력을 받는듯 했으나 기존의 계산 값이 남아있고 기존의 계산값으로 계산되는 점 (AC 버튼으로 리셋되지 않는 부분과 동일한 이슈로 보입니다.)
(5 + 5 = 2 + 순서대로 입력 시)
음수와의 계산이 안되는 이슈 (양수 - 양수로 음수 만드는 것은 가능, 하지만 '음수 + 연산자 + 수' 계산은 되지 않음)
(-5 - 10 입력 시 --> 뒤에 무슨 수가 오더라도 앞 음수가 계속 출력�)
단색이 아니라 파스텔 컬러라서 보기 좋고 폰트가 이쁩니다.
연산데이터 처리 로직에 문제가 있는거 같은데 연산 후 AC클릭 or 새로운 숫자 입력할 때 이전 결과값을 그대로 갖고 있는 경우가 있음.
(연산자 관련 문제로 생각되는데
예를들어
3*3 = 9 ->
AC ->
2 * 를 누르면 2가 9로 바뀝니다.
같은 연산자를 연속으로 쓸 때 발생하는 것 같아요.)
천 단위 콤마 추가.
... 중복처리.
0 중복처리.
연산자 중복처리.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.