ContributionsMost RecentMost LikesSolutionsSalesforce oauth account creation How to setup salesforce oauth account and generate access token and refresh token in snaplogic. Re: Filter function in snaplogic I got my answer how this filter function deletes duplicates JavaScript Tutorial – 13 Jan 20 JavaScript: Remove Duplicates from an Array In this tutorial, you will learn some techniques to to remove duplicates from an array in JavaScript. Est. reading time: 6 minutes Re: Filter function in snaplogic To remove duplicate entries in an array: Expression : $myarray.filter((item, pos, a) => a.indexOf(item) == pos) where $myarray is a normal array containing [“Fred”, “Wilma”, “Fred”, “Betty”, “Fred”, “Barney”] Result : A new array containing [Fred, Wilma, Betty, Barney]. I found this example in documentation. but not able to understand how this function is deleting duplicates. Can you explain with this example Filter function in snaplogic Can anyone make me understand what the below function is doing? filter((a, b, c) => c.indexOf(a) == b) Re: How to render distinct elements only in an array with duplicates Can you please explain how this filter function is working? what is item , pos and a here and how there are related to each other and functioning? Re: How to render distinct elements only in an array with duplicates Can you please explain how this filter function is working? what is item , pos and a here and how there are functioning? Writing python script in Script snap Hi , Can anyone help me in writing simple “hello world” program using python in script snap?