Created
October 25, 2017 01:02
-
-
Save maxim-uvarov/4a1da267ab7ef33dc35947fdecfffaab to your computer and use it in GitHub Desktop.
simple obfuscation function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// obfuscastionFun | |
// simple obfuscation function | |
(listToTransform as list)=> | |
let | |
listBufferMain = List.Buffer(listToTransform), | |
removeDuplicates = List.Distinct(listBufferMain), | |
listBuffer = List.Buffer(removeDuplicates), | |
result = List.Transform(listBufferMain, each List.PositionOf(listBuffer, _)) | |
in | |
result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment