Created
December 8, 2016 10:31
-
-
Save hoosin/4e283baa88285ecc281665f7b72bbeb6 to your computer and use it in GitHub Desktop.
getDay.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var str = "今天是星期" + "日一二三四五六".charAt(new Date().getDay()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment