Skip to content

Commit 3564ab8

Browse files
authored
Merge pull request #29 from koboriakira/master
Add a solution 5-3-4 'extract-currency' ありがとうございます!
2 parents 8b974d1 + b39c43b commit 3564ab8

File tree

1 file changed

+5
-1
lines changed
  • 1-js/05-data-types/03-string/4-extract-currency

1 file changed

+5
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
1+
```js run
2+
function extractCurrencyValue(str) {
3+
return +str.slice(1);
4+
}
5+
```

0 commit comments

Comments
 (0)