javascript - Remove the first character of the first index of an array? -


question: how remove first character of first index of array.

var arr = ['/a','b','c','r']; 

i output

var arr = ['a','b','c','r']; 

use below code

arr[0] = arr[0].substr(1); 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -