Can anyone shed light on how to frame a javascript function with two parameters: string and character, and only by using the slice method, return the number of
fmt.Println("Enter position to delete::") fmt.Scanln(&pos) new_arr := make([]int, (len(arr) - 1)) k := 0 for i := 0; i < (len(arr) - 1); { if i != p