Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Fugel achengfu

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