Task: Remove Prefix Text from a String in JavaScript
Task: Remove Prefix Text from a String in JavaScript: a task in Terminal-Lego-15k (Harbor dataset). You need to write a JavaScript solution that removes a specific prefix from a string. Given a string like data-123 , your task is to remove the data- prefix and return just 123 .
The task
You need to write a JavaScript solution that removes a specific prefix from a string. Given a string like `data-123`, your task is to remove the `data-` prefix and return just `123`.
Part of PrimeIntellect/Terminal-Lego-15k.