chore(i18n,learn): processed translations (#55161)

This commit is contained in:
freeCodeCamp's Camper Bot
2024-06-11 22:32:29 +05:30
committed by GitHub
parent 1a5c86d4dc
commit f0386106d4
4999 changed files with 93587 additions and 22076 deletions

View File

@@ -1,6 +1,6 @@
---
id: acda2fb1324d9b0fa741e6b5
title: Confirm the Ending
title: 끝 부분 확인하기
challengeType: 1
forumTopicId: 16006
dashedName: confirm-the-ending
@@ -8,31 +8,31 @@ dashedName: confirm-the-ending
# --description--
Check if a string (first argument, `str`) ends with the given target string (second argument, `target`).
문자열(첫 번째 인자, `str`)이 주어진 대상 문자열(두 번째 인자`target`)로 끝나는지 확인하세요.
This challenge *can* be solved with the `.endsWith()` method, which was introduced in ES2015. But for the purpose of this challenge, we would like you to use one of the JavaScript substring methods instead.
이번 도전 과제는 ES2015에 도입된 `.endsWith()`라는 메소드로 *해결*할 수 있습니다. 하지만, 도전 과제라는 의의를 위해 여러분이 JavaScript substring 메소드 중 하나를 대신 사용해보면 좋겠습니다.
# --hints--
`confirmEnding("Bastian", "n")` should return `true`.
`confirmEnding("Bastian", "n")` `true`를 반환합니다.
```js
assert(confirmEnding('Bastian', 'n') === true);
```
`confirmEnding("Congratulation", "on")` should return `true`.
`confirmEnding("Congratulation", "on")` `true`를 반환합니다.
```js
assert(confirmEnding('Congratulation', 'on') === true);
```
`confirmEnding("Connor", "n")` should return `false`.
`confirmEnding("Connor", "n")` `false`를 반환합니다.
```js
assert(confirmEnding('Connor', 'n') === false);
```
`confirmEnding("Walking on water and developing software from a specification are easy if both are frozen", "specification")` should return `false`.
`confirmEnding("Walking on water and developing software from a specification are easy if both are frozen", "specification")` `false`를 반환합니다.
```js
assert(
@@ -43,31 +43,31 @@ assert(
);
```
`confirmEnding("He has to give me a new name", "name")` should return `true`.
`confirmEnding("He has to give me a new name", "name")` `true`를 반환합니다.
```js
assert(confirmEnding('He has to give me a new name', 'name') === true);
```
`confirmEnding("Open sesame", "same")` should return `true`.
`confirmEnding("Open sesame", "same")` `true`를 반환합니다.
```js
assert(confirmEnding('Open sesame', 'same') === true);
```
`confirmEnding("Open sesame", "sage")` should return `false`.
`confirmEnding("Open sesame", "sage")` `false`를 반환합니다.
```js
assert(confirmEnding('Open sesame', 'sage') === false);
```
`confirmEnding("Open sesame", "game")` should return `false`.
`confirmEnding("Open sesame", "game")` `false`를 반환합니다.
```js
assert(confirmEnding('Open sesame', 'game') === false);
```
`confirmEnding("If you want to save our world, you must hurry. We dont know how much longer we can withstand the nothing", "mountain")` should return `false`.
`confirmEnding("If you want to save our world, you must hurry. We dont know how much longer we can withstand the nothing", "mountain")` `false`를 반환합니다.
```js
assert(
@@ -78,13 +78,13 @@ assert(
);
```
`confirmEnding("Abstraction", "action")` should return `true`.
`confirmEnding("Abstraction", "action")` `true`를 반환합니다.
```js
assert(confirmEnding('Abstraction', 'action') === true);
```
Your code should not use the built-in method `.endsWith()` to solve the challenge.
해당 도전 과제를 해결하기 위해 내장 메소드인 `.endsWith()`를 사용하지 않아야 합니다.
```js
assert(!/\.endsWith\(.*?\)\s*?;?/.test(__helpers.removeJSComments(code)) && !/\['endsWith'\]/.test(__helpers.removeJSComments(code)));