原创 Javascript身份證校驗(原創)

//身份證號碼校驗,並從中拆分出出生年月日和性別var yyyy;var mm;var dd;var birthday;var sex; function getYear(){    return yyyy;}function getMo