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

Done#85

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
loeff066 wants to merge1 commit intolearn-co-students:master
base:master
Choose a base branch
Loading
fromloeff066:master
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified.editorconfig
100644 → 100755
View file
Open in desktop
Empty file.
Empty file modified.gitignore
100644 → 100755
View file
Open in desktop
Empty file.
Empty file modified.learn
100644 → 100755
View file
Open in desktop
Empty file.
Empty file modifiedCONTRIBUTING.md
100644 → 100755
View file
Open in desktop
Empty file.
Empty file modifiedLICENSE.md
100644 → 100755
View file
Open in desktop
Empty file.
Empty file modifiedREADME.md
100644 → 100755
View file
Open in desktop
Empty file.
Empty file modifiedindex.html
100644 → 100755
View file
Open in desktop
Empty file.
26 changes: 26 additions & 0 deletionsindex.js
100644 → 100755
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
function shout(string) {
return string.toUpperCase()
}
function whisper(string) {
return string.toLowerCase()
}
function logWhisper(string){
console.log(string.toLowerCase())
}
function logShout(string) {
console.log(string.toUpperCase())
}
var lowercase ='hello'
var uppercase = 'HELLO'
var smile = "I love you, Grandma."
function sayHiToGrandma(string) {
if (string === uppercase) {
return "YES INDEED!"
}
else if(string === lowercase) {
return "I can't hear you!"
}
else if(string === smile) {
return "I love you, too."
}
}
Empty file modifiedpackage.json
100644 → 100755
View file
Open in desktop
Empty file.
1 change: 1 addition & 0 deletionstest/index-test.js
100644 → 100755
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@


describe('shout(string)', function() {
it('receives one argument and returns it in all caps', function() {
expect(shout('hello')).toEqual('HELLO')
Expand Down
Empty file modifiedtest/mocha.opts
100644 → 100755
View file
Open in desktop
Empty file.
Empty file modifiedtest/root.js
100644 → 100755
View file
Open in desktop
Empty file.

[8]ページ先頭

©2009-2025 Movatter.jp