//在jQuery匿名函数中,采用jQuery.extend();方法创建jQuery插件 //在jQuery匿名函数中, 采用对象.属性 = 函数的方式创建jQuery插件 (function ($) { jQuery.extend({ jia: function (a, b) { return a + b; }, jian: function (a, b) { return a < b ? b - a : a - b; } }); $.sub = { sheng: function (a,…