Closed Siorki closed 7 years ago
getContext`2d` is equivalent to getContext("2d") and costs 2 bytes less. Also works with webgl of course. The syntax should be supported when detecting context creation.
getContext`2d`
getContext("2d")
webgl
Example of use : JS2017 intro
getContext`2d`
is equivalent togetContext("2d")
and costs 2 bytes less. Also works withwebgl
of course. The syntax should be supported when detecting context creation.Example of use : JS2017 intro