Created
July 5, 2017 06:58
-
-
Save byteface/487e8cc74f65ef8eba0d229d4e0750d9 to your computer and use it in GitHub Desktop.
periodic table javascript array
This file contains hidden or 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 PeriodicTable = PeriodicTable || {}; | |
PeriodicTable.periods = new Array( | |
["H","","","","","","","","","","","","","","","","","He"], | |
["Li","Be","","","","","","","","","","","B","C","N","O","F","Ne"], | |
["Na","Mg","","","","","","","","","","","Al","Si","P","S","Cl","Ar"], | |
["K","Ca","Sc","Ti","V","Cr","Mn","Fe","Co","Ni","Cu","Zn","Ga","Ge","As","Se","Br","Kr"], | |
["Rb","Sr","Y","Zr","Nb","Mo","Tc","Ru","Rh","Pd","Ag","Cd","In","Sn","Sb","Te","I","Xe"], | |
["Cs","Ba","La","Hf","Ta","W","Re","Os","Ir","Pt","Au","Hg","Tl","Pb","Bi","Po","At","Rn"], | |
["Fr","Ra","Ac","Rf","Db","Sg","Bh","Hs","Mt","Ds","Rg","Cn","Nh","Fl","Mc","Lv","Ts","Og"], | |
["","","","Ce","Pr","Nd","Pm","Sm","Eu","Gd","Tb","Dy","Ho","Er","Tm","Yb","Lu",""], | |
["","","","Th","Pa","U","Np","Pu","Am","Cm","Bk","Cf","Es","Fm","Md","No","Lr",""] | |
); | |
PeriodicTable.groups = new Array( | |
["H","Li","Na","K","Rb","Cs","Fr","",""], | |
["","Be","Mg","Ca","Sr","Ba","Ra","",""], | |
["","","","Sc","Y","La","Ac","",""], | |
["","","","Ti","Zr","Hf","Rf","Ce","Th"], | |
["","","","V","Nb","Ta","Db","Pr","Pa"], | |
["","","","Cr","Mo","W","Sg","Nd","U"], | |
["","","","Mn","Tc","Re","Bh","Pm","Np"], | |
["","","","Fe","Ru","Os","Hs","Sm","Pu"], | |
["","","","Co","Rh","Ir","Mt","Eu","Am"], | |
["","","","Ni","Pd","Pt","Ds","Gd","Cm"], | |
["","","","Cu","Ag","Au","Rg","Tb","Bk"], | |
["","","","Zn","Cd","Hg","Cn","Dy","Cf"], | |
["","B","Al","Ga","In","Tl","Nh","Ho","Es"], | |
["","C","Si","Ge","Sn","Pb","Fl","Er","FM"], | |
["","N","P","As","Sb","Bi","Mc","Tm","Md"], | |
["","O","S","Se","Te","Po","Lv","Yb","No"], | |
["","F","Cl","Br","I","At","Ts","Lu","Lr"], | |
["He","Ne","Ar","Kr","Xe","Rn","Og","",""] | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment