Closed
Description
package main
import (
"fmt"
)
func main() {
a := make([]byte, 4096)
b := a[8192:]
fmt.Println(len(b))
}
https://gopherjs.github.io/playground/#/Sxg5Yfe4Y0
Actual result:
-4096
Expected result:
panic: runtime error: slice bounds out of range