Refactor destructuring assignments paired with default params
Child issue of https://gitlab.com/gitlab-org/gitlab-ce/issues/21887.
Instances:
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/blob/blob_gitignore_selectors.js.coffee#L2
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/blob/blob_ci_yaml.js.coffee
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/user_tabs.js.coffee#L65
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/todos.js.coffee#L5
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/search_autocomplete.js.coffee#L8
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/profile/profile.js.coffee#L5
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/profile/profile.js.coffee#L5
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/profile/gl_crop.js.coffee#L15
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/issues-bulk-assignment.js.coffee#L8
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/LabelManager.js.coffee#L10
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/issuable_form.js.coffee#L46
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/gl_dropdown.js.coffee#L160
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/gl_dropdown.js.coffee#L196
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.10.0/app/assets/javascripts/blob/blob_license_selectors.js.coffee#L6