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.
1 Chief Justice of the United States: The Chief Justice is appointed by the president and confirmed by the Senate. 2  The Chief Justice may be âpromotedâ from the status of Associate Justice, or may be a new appointment to the Court. 3  He or she serves a life term just like the other Justices of the Supreme Court.