Just testing a code input!
Here's some JavaScript:
function permutationCheck(string1,string2) {
let sortOne = string1.split('').sort().join('');
let sortTwo = string2.split('').sort().join('');
if(sortOne === sortTwo) {
return true;
} else {
return false;
}
}