0
У меня есть один строки программы js_of_ocaml:Как вызвать метод js_of_ocaml?
Dom_html.window##scroll 100 100 ;
Какой сбой с ошибкой:
File "tests/test_scrolling.ml", line 2, characters 0-23:
Error: This expression has type int -> int -> unit Js.meth
but an expression was expected of type < get : 'a; .. > Js.gen_prop
Command exited with code 2.
Как вызвать этот метод?