Skip to content

Commit a246a72

Browse files
authored
Merge pull request #691 from hexlet-basics/revert-689-fix-reverse-function
Revert "unchange import function"
2 parents b8bdbc2 + 939afa7 commit a246a72

File tree

1 file changed

+1
-2
lines changed
  • modules/45-logic/28-logical-negation

1 file changed

+1
-2
lines changed

modules/45-logic/28-logical-negation/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Функция reverse() написана нами специально для наших упражнений
2-
// Принцип ее работы можно изучить на hexlet.io
3-
const reverse = (s) => s.split('').reverse().join('');
2+
import { reverse } from '../../../src/hexlet/string.js';
43

54
// BEGIN
65
const isPalindrome = (word) => {

0 commit comments

Comments
 (0)