valueOf() in JS

valueOf() in JS


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>valueOf() in JS</title>


</head>
<body>
<script>
var arr = ["praveen","kumar","yadav","is","smart"];
var b= arr.valueOf();
console.log(b);


</script>
</body>
</html>




Comments

Popular posts from this blog