Returns the right-most num characters of the string (or the whole string if shorter).
num
num — number of characters to extract.
log "abcdef".right(3) // "def"
Last updated 4 months ago