Importing in JS

Hi guys ! This is a general question . What is the difference while importing
Should we import in way 1 or 2 ?

  1. import {Vehicles} from ‘./Vehicles’;
  2. import {Vehicles} from ‘./Vehicles.js’;

I am asking because I have seen many times this happenning while doing some of the exercises . Thanks !

No differences, you can use either one is fine.

image Just found this , thanks !