Created
July 28, 2021 07:28
-
-
Save sureshalagarsamy/479c7d473a601652976995c960b632d1 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/mofuxoj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="array methods"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
let arr = ["t", "e", "s", "t"]; | |
let newArr = arr.slice(1, 3); | |
console.log(newArr); | |
let message = ["s", "u", "r", "e", "s", "h"]; | |
delete message[1]; | |
console.log(message); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">let arr = ["t", "e", "s", "t"]; | |
let newArr = arr.slice(1, 3); | |
console.log(newArr); | |
let message = ["s", "u", "r", "e", "s", "h"]; | |
delete message[1]; | |
console.log(message); | |
</script></body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let arr = ["t", "e", "s", "t"]; | |
let newArr = arr.slice(1, 3); | |
console.log(newArr); | |
let message = ["s", "u", "r", "e", "s", "h"]; | |
delete message[1]; | |
console.log(message); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment