Tuesday 2 July 2019

javascript - I have declared a global variable in script1,js

How can I restrict the global variable to that file only, ie not accessible to other script files, I have two script files like script1,js and script2,js

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...