I hereby claim:
- I am Prosen-Ghosh on github.
- I am prosen_ghosh (https://keybase.io/prosen_ghosh) on keybase.
- I have a public key whose fingerprint is D939 1505 888B 3B07 6453 5A50 F77D 3138 9240 8D51
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
1. 10 Interview Questions Every JavaScript Developer Should Know
2. 21 Essential JavaScript Interview Questions from best mentors all over the world
3. 25 Essential JavaScript Interview Questions from top 3% developers company
4. 5 More JavaScript Interview Exercises
5. 5 Typical JavaScript Interview Exercises
6. Development hiring managers and potential interviewees may find these sample JavaScript proficiency interview Q&As and code snippets useful
[7. JavaScript
You can import large file using this command line way 2: | |
mysql -h localhost -u root -p | |
give the password | |
mysql> use database name | |
mysql> source path/example.sql | |
You can import large file using this command line way 2: | |
mysql -u root -p dbName < path/example.sql |
var calculator = function(){ | |
return this; | |
} | |
calculator.prototype.set = function (number){ | |
if(number === undefined)this.number = Math.floor(Math.random() * 1000); | |
else this.number = number; | |
return this; | |
} | |
calculator.prototype.add = function(number = 0){ |
let str = "123211"; | |
let map = Array.prototype.map; | |
let newStr = map.call(str,function(x){ | |
return x; | |
}).reverse().join(''); | |
if(str === newStr)console.log("Palindrome"); | |
else console.log("Not Palindrome"); |
String.prototype.camelToDash = function(){ | |
return this[0].toLowerCase() + this.slice(1).replace(/[A-Z]/g,function(w){ | |
return '-'+ w.toLowerCase(); | |
}); | |
} |
function convertToF(celsius) { | |
var fahrenheit = (celsius * 9/5)+32; | |
return fahrenheit; | |
} | |
convertToF(30); |
function remove(s){ | |
return s.split('!').join('')+'!'; | |
} |
function prime(n){ | |
let arr = new Array(n).fill(true); | |
arr[0] = arr[1] = false; | |
let range = Math.sqrt(n); | |
for(let i = 2; i <= n; i++){ | |
if(arr[i] === true){ | |
for(let j = i*2; j <= n; j+= i){ | |
arr[j] = false; | |
} | |
} |
var getDayName = function(dateFormate){ | |
var days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], | |
date = new Date(dateFormate); | |
return days[date.getDay()]; | |
} | |
getDayName("08/01/2017"); // MM/DD/YYYY | |
// "Tuesday" |