.js File Project

Can Anybody Help Me. Is This Correct. Because i am making a .js file in my laptop.

import { folders } from oneDrive.data
import { username } from oneDrive.user
function encrypt(folders, Password, ___) {
  var password = 73947243
  var folders = [
  ___,
  ];
};
encrypt(folder, password)
if (folder = encrypt(folder, password) {
  print('Welcome' + username)
  print('folders are encrypted')
} else {
  print('Welcome' + username)
  print('Folders are not Encrypted)