1*68017707SAndroid Build Coastguard Worker# kotlinx.atomicfu 2*68017707SAndroid Build Coastguard Worker 3*68017707SAndroid Build Coastguard WorkerThe idiomatic way to use atomic operations in [Kotlin/JS](https://kotlinlang.org/docs/reference/js-overview.html), 4*68017707SAndroid Build Coastguard Workerso that the same code can be shared with Kotlin/JVM. 5*68017707SAndroid Build Coastguard Worker 6*68017707SAndroid Build Coastguard Worker```kotlin 7*68017707SAndroid Build Coastguard Workerprivate val top = atomic<Node?>(null) 8*68017707SAndroid Build Coastguard Worker``` 9*68017707SAndroid Build Coastguard Worker 10*68017707SAndroid Build Coastguard WorkerSee [README](https://github.com/Kotlin/kotlinx.atomicfu/blob/master/README.md) for more details. 11