Skip to content

Instantly share code, notes, and snippets.

View kjsman's full-sized avatar

Jinseo Kim kjsman

View GitHub Profile
WHY
function 숫자(value) {
this.value = Number(value);
}
숫자.prototype.valueOf = function() { return this.value }
숫자.prototype.toString = function() { return this.value.toString() }
숫자.prototype.toLocaleString = function() {
if (this == 0) return '영';
var phonemic = ['','일','이','삼','사','오','육','칠','팔','구'];
var unit = ['','','십','백','천','만','십만','백만','천만','억','십억','백억','천억','조','십조','백조'];
var ret = '';
@kjsman
kjsman / sigong.css
Created September 30, 2017 06:05
시공을 위한 CSS
@keyframes shake {
2% {
transform: translate(-0.5px, -0.5px) rotate(0.5deg); }
4% {
transform: translate(2.5px, -1.5px) rotate(-0.5deg); }
6% {
transform: translate(2.5px, 0.5px) rotate(1.5deg); }
8% {
transform: translate(-0.5px, 2.5px) rotate(-0.5deg); }
10% {