As stated above, all of the method signatures are different in JS so probably shouldn't spell them out here and instead reference the respective API docs.