path/extension
pathSummary
Return the extension of PATH
Bytecode
Probably only interesting to you if you want to understand more about the Nujel VM or care very much about performance.
( 0 ($get/val 'last-index-of)) ( 2 ($get/val 'path)) ( 4 ($push/val .)) ( 6 ($apply 2)) ( 8 ($det/val 'last-period)) ( 10 ($drop)) ( 11 ($get/val 'last-period)) ( 13 ($push/int/byte 0)) ( 15 ($>=)) ( 16 ($jf* 23)) ( 19 ($get/val 'string/cut)) ( 21 ($get/val 'path)) ( 23 ($push/int/byte 1)) ( 25 ($get/val 'last-period)) ( 27 ($add)) ( 28 ($get/val 'buffer/length)) ( 30 ($get/val 'path)) ( 32 ($apply 1)) ( 34 ($apply 3)) ( 36 ($jmp* 5)) ( 39 ($get/val 'path)) ( 41 ($ret))