函数参数的默认值
function log(x, y = 'World') {
console.log(x, y);
}
See Also
/Users/devzkn/bin/knpost es6_function 函数的扩展 -t es6 #原来""的参数,需要自己加上""
转载请注明:张坤楠的博客 > es6_function
Search
FEATURED TAGS
iOS
Debug
Open_Source_Framework
RunLoop
Swift
Xcode
ReactiveCocoa
Runtime
Mac
Efficiency
Terminal
Git
objc
CocoaPods
ruby
shell
iosre
Cycript
OutlineOfChineseHistory
Workplace
GoogleMethodology
Search
CocoaTouchStaticLibrary
ReadaBookEveryDay
miniprogram
es6
internet
py
Xiang_Shuai_Beida_Finance_Course
frida
WebScoket
note
MobileSubstrate
security
dyld
MGCopy
Logical_thinking
Knowledge_is_power
jb
How_to_be_a_master_of_network_management
hook
DeviceInfo
Video