従来のコード
$("h2.result").show();
$("p.result").show();
$("p.osusume-result").show();
$(".result-link").show();
$("p.one-more").show();
まとめたやつ
const elements = ["h2.result","p.result","p.osusume-result",".result-link","p.one-more"];
$(elements.join(", ")).show();
これでもいける
const elements = ["h2.result","p.result","p.osusume-result",".result-link","p.one-more"];
$(`${elements}`).show();