I've got a question. Does the following method cre...
# announcements
r
I've got a question. Does the following method creates a new array every time it's called?
Copy code
override fun play() {
    require(state in arrayOf(READY_TO_PLAY, PAUSED)) {
        "Error: play() method called on Player in state $state"
    }
    evaluateJavascript("$JS_PLAYER_VAR.play()") {}
}