input: from typing import List
  
  
  def translate_javascript_to_python(js_code: str) -> str:
      """ Given a piece of JavaScript code, translate it into equivalent Python code.
      The input will be given in the format where an array is declared and then
      each item in the array is processed with a function (like forEach) that logs
      the result of an operation on the item. The output should be in Python, using
      a for loop to iterate over the array and print the result of the operation.
  
      >>> translate_javascript_to_python("let arr = [1, 2, 3, 4, 5];\\n\\narr.forEach(item => {\\n console.log(item * 2);\\n});")
      'arr = [1, 2, 3, 4, 5]\\n\\nfor item in arr:\\n print(item * 2)'
      """
output:     js_code = js_code.replace("let ", "")
      js_code = js_code.replace("var ", "")
      js_code = js_code.replace("const ", "")
      js_code = js_code.replace("console.log", "print")
      js_code = js_code.replace("forEach(item => {", "for item in arr:")
      js_code = js_code.replace("});", "")
      js_code = js_code.replace("\\n", "\n")
      return js_code.strip()