in js i want array like this let arr = ["a","b","c"] but i am getting arr = ['a','b','c'] is there any way to do this?

Notes : it's for merkletree to send proof through frontend

1 Answer 1


In JS there's no different between " and ', these just use to display strings to the user, but data stored in the variable does not contain either.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.