《JavaScript设计模式与开发实践》学习之使用策略模式计算奖金

简洁的做法如下:

原文地址:https://www.cnblogs.com/IT123/p/11040625.html