File: jsbuiltin.inc.js

package info (click to toggle)
golang-github-gopherjs-jsbuiltin 0.0~git20180426.5009155-1.1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 84 kB
  • sloc: javascript: 5; makefile: 2
file content (5 lines) | stat: -rwxr-xr-x 180 bytes parent folder | download
1
2
3
4
5
$global.$jsbuiltin$ = {
    typeoffunc: function(x) { return typeof x },
    instanceoffunc: function(x,y) { return x instanceof y },
    infunc: function(x,y) { return x in y }
}