Skip to content
Snippets Groups Projects
Commit 5881d304 authored by Richard Musiol's avatar Richard Musiol Committed by Brad Fitzpatrick
Browse files

syscall/js: turn constant package vars into functions

This is so the values can not be changed and the type is easy to see.

Requested on https://go-review.googlesource.com/c/go/+/120561.

Change-Id: If2ed48ca3ba8874074687bfb2375d2f5592e8e0d
Reviewed-on: https://go-review.googlesource.com/120564


Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 9c35c1a5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment