Extra semicolons (;) are usually introduced by mistake, for example because:

Noncompliant Code Example

var x = 1;; // Noncompliant

function foo() {
};  // Noncompliant

Compliant Solution

var x = 1;

function foo() {
}

See