結果 : pure vs impure functions javascript