Limpar o LocalSorage no clique no jQuery

if (localStorage.length > 0 ) {
    localStorage.clear();
}
Ashamed Addax