Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b898f45

Browse files
password generator final ver.1.0
1 parent 3f17175 commit b898f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎day18/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const characters = {
1717
const generatePassword = () => {
1818
const passwordArray = [];
1919
const lengthRequired = +lengthElem.value;
20-
const options = Array.prototype.slice.call(checkboxes);
20+
const options = Array.from(checkboxes);
2121

2222
const noOptionsChecked = options.every((option) => !option.checked);
2323

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /