HF RL Explorer

Task: Extract Last Two Characters from a String

Task: Extract Last Two Characters from a String: a task in Terminal-Lego-15k (Harbor dataset). You need to write a JavaScript program that extracts the last two characters from a given string. The characters can be digits, letters, or any other characters.

The task

You need to write a JavaScript program that extracts the last two characters from a given string. The characters can be digits, letters, or any other characters.

Part of PrimeIntellect/Terminal-Lego-15k.