appsmith
appsmith copied to clipboard
[Bug]: new Set () returns empty object {} instead of array
Is there an existing issue for this?
- [X] I have searched the existing issues
Description
The new Set() operator is returning an empty object instead of an array.
Steps To Reproduce
export default {
newSetTest () {
return new Set(["test", "test","1","2","3"])
}
}
This should return:
{"test","1","2","3"}
but it returns an empty object.
Public Sample App
No response
Environment
Production
Severity
Low (Cosmetic UI issues)
Issue video log
No response
Version
v1.40