Skip to content

Commit b563b53

Browse files
authored
unchange import function (#692)
* Revert "Revert "unchange import function"" * Update index.js
1 parent 17f3e72 commit b563b53

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

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

45
// BEGIN
56
const isPalindrome = (word) => {

0 commit comments

Comments
 (0)