I want to use this jquery function inside my jaggery file:
$.inArray(value, array)
What is the most efficient way of doing it?
Jquery is already imported in the file using a <script>
tag. I think using require()
function to again get jquery would be inefficient.