Movatterモバイル変換


[0]ホーム

URL:


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

Create a testing environment in NodeJS and using modern JS syntax#28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
hienduyph wants to merge2 commits intokennymkchan:master
base:master
Choose a base branch
Loading
fromhienduyph:master

Conversation

hienduyph
Copy link

The first change is just in array compute product.

@craigayre
Copy link
Contributor

craigayre commentedFeb 19, 2017
edited
Loading

Can you also add .vscode/ and yarn.lock to your .gitignore?

While I agree there should be ES6 examples (which is something I am also working on), I think they should be separated from the existing examples

```javascript
var unsortedArray = [-10, 7, 29, 30, 5, -10, -70];
const unsortedArray = [-10, 7, 29, 30, 5, -10, -70];

computeProduct(unsortedArray); // 21000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This does not work since computeProduct is now not hoisted

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'll fix that.

craigayre reacted with thumbs up emoji
@@ -10,35 +10,37 @@
1. [Javascript Specific](#javascript)
1. To Be Continued

## Want to Test Solutions ?
__[Demo and testing](demo)__
- `npm install` or `yarn install`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

You could replaceyarn install with justyarn

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Also, to be consistent withinstall, it might be worth adding how you test with yarn (yarn test)

hienduyph reacted with thumbs up emoji
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@craigayrecraigayrecraigayre left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@hienduyph@craigayre

[8]ページ先頭

©2009-2025 Movatter.jp