I'm new to Kotlin/JS and I would like some "jumps...
# javascript
a
I'm new to Kotlin/JS and I would like some "jumpstart help", which the docs don't provide. I'm trying to iterate through the Node's process.env object. But I really have no idea how to code that in Kotlin. I've put the dotenv npm dependencies in my gradle file and done the external process in my Kotlin file, but not sure how to "manipulate" the object. I know I can do process.env.MY_PROPERTY, but I don't know how address this object to iterate through its keys. Thanks
r
Copy code
for (key in js("Object").keys(process.env)) {
    println(key)
}
a
Thank you!