function getA(a , b = 2){ console.log(a*b)}getA(2,3); --》 6getA(4); --》 8 转载于:https://www.cnblogs.com/JaneBlog/p/8043788.html