Creating an array using the result of a match. The result of a match between a regular expression and a string can create a JavaScript array. This array has properties and elements which provide information about the match. Such an array is returned by RegExp.exec, String.match, and String.replace.
The justices are nominated by the President of the United States and appointed after confirmation by the United States Senate. Justices of the Supreme Court have life tenure and receive a salary which is set at $255,500 per year for the chief justice and at $244,400 per year for each associate justice as of 2014.
Left to right, seated: Justice Kathryn M. Werdegar (retired August 2017), Chief Justice Tani G. Cantil-Sakauye, and Justice Ming W. Chin . The Supreme Court of California consists of the Chief Justice of California and six Associate Justices, each appointed or nominated by the Governor.