ArtissolPvt / test

testing for integration with freshdesk
0 stars 0 forks source link

testing #28

Closed Artissol closed 5 years ago

Artissol commented 5 years ago
Freshdesk Ticket ID: 19
Freshdesk Ticket Agent: Projteam Artis
Freshdesk Ticket Agent Email: projteam@artissol.com
Ticket Priority: Low
Freshdesk Ticket Description:
### ## ####
xxx xx xxxx

###-##-####xxx-xx-xxxx

#########xxxxxxxxx

ssn#########ssnxxxxxxxxx

2##############xxxxxxxxxxxx1113
2###-####-####-####xxxx-xxxx-xxxx-1113
2### #### #### ####xxxx xxxx xxxx 1113
3### ###### #####xxxx xxxxxx x7303

3###-######-#####xxxx-xxxxxx-x7303

3##############xxxxxxxxxxx7303

4### #### #### ####xxxx xxxx xxxx 8904

4###-####-####-####xxxx-xxxx-xxxx-8904

4##############xxxxxxxxxxxx8904

6###############xxxxxxxxxxxx3244

6### #### #### ####xxxx xxxx xxxx 3244

6###-####-####-####xxxx-xxxx-xxxx-3244

5###############xxxxxxxxxxxx0314

5### #### #### ####xxxx xxxx xxxx 0314

5###-####-####-####xxxx-xxxx-xxxx-0314

Order number: ZZ4951802
Item number(s): EPIDOT
Reason for return: test reason for return
Exchange item(s):


Artissol commented 5 years ago
Hi Sujan,

Ticket: https://projteam.freshdesk.com/helpdesk/tickets/122


I have an array of integers, and I'm using the .push() method to add elements to it.
Is there a simple way to remove a specific element from an array? The equivalent of something like array.remove(int);.
I have to use core JavaScript - no frameworks are allowed.

Artissol commented 5 years ago

(lodash) array = ['a', 'b', 'c']; _.pull(array, 'a') // array => ['b', 'c']; See also stackoverflow.com/questions/5767325/…