Updated exercise
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@ node_modules
|
||||
**/.DS_Store
|
||||
todo/**
|
||||
_*.js
|
||||
solution-*.js
|
||||
@@ -1,10 +1,10 @@
|
||||
// Types and conversions
|
||||
// !@ts-check
|
||||
|
||||
// Ex 1 (implicit convertion)
|
||||
// Compute the time in seconds
|
||||
function timeInSeconds(hours, mins, secs) {
|
||||
// placeholder
|
||||
// return (hours * 60 + mins) * 60 + secs;
|
||||
}
|
||||
|
||||
console.log('Ex 1');
|
||||
|
||||
Reference in New Issue
Block a user