It shall not be a defense to a prosecution for any of the acts prohibited in the foregoing section that any part of such act or acts shall have been committed outside this state.
R.L.1910, § 2426.