Skip to content

Instantly share code, notes, and snippets.

@silavsale
Created January 24, 2023 04:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silavsale/6d21ebeed7df0ff370072eed0392948d to your computer and use it in GitHub Desktop.
Save silavsale/6d21ebeed7df0ff370072eed0392948d to your computer and use it in GitHub Desktop.
23Jan-js
const data1 = 'Jordan Smith';
const data2 = [].filter.call(data1, function(elem, index) {
return index > 6;
});
// Що ми отримаємо в data2?
@sdktraceur
Copy link

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment