Skip to content

Instantly share code, notes, and snippets.

View achengfu's full-sized avatar
🎯
Focusing

Fugel achengfu

🎯
Focusing
View GitHub Profile
@achengfu
achengfu / constellation.js
Created August 26, 2016 09:36 — forked from solodxg/constellation.js
js:生日转换为星座
/**
/* 生日转换为星座
/* @param mon 月份
/* @param day 日份(1-31)
/* @return string 对应日期生日的星座字符串
**/
function constellation(mon, day) {
var s = "魔羯水瓶双鱼牡羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯";