After running the code below, what is the value of x?

x <- 3
my_func <- function(y){
  x <- 5
  y+5
}

Write the correct answer in the terminal.