mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
6 lines
196 B
JavaScript
6 lines
196 B
JavaScript
---------------------------
|
|
cc.path.extname("a/b.png"); //-->".png"
|
|
cc.path.extname("a/b.png?a=1&b=2"); //-->".png"
|
|
cc.path.extname("a/b"); //-->null
|
|
cc.path.extname("a/b?a=1&b=2"); //-->null
|