I was create file .jslib (js file format for unity3D project) And select language mode as js
Then it cause error unlike normal js file. It try to check existence of all variable and cause error. It seem like it not use the same engine. When I change this file tobe .js it just work properly

I was create file .jslib (js file format for unity3D project) And select language mode as js
Then it cause error unlike normal js file. It try to check existence of all variable and cause error. It seem like it not use the same engine. When I change this file tobe .js it just work properly