replace () with space for typeof