Pranoy (@prnysarkar) 's Twitter Profile
Pranoy

@prnysarkar

I breathe JavaScript

ID: 2904583934

calendar_today19-11-2014 14:37:29

93 Tweet

928 Takipçi

3,3K Takip Edilen

Pranoy (@prnysarkar) 's Twitter Profile Photo

📢How to make an Object Property READ ONLY 📢 we ❤️ const, but it does not work 😭 with object property. Solution : 👉 Object.defineProperty( obj , 'fname', { writable : false }) Here the third parameter is the configuration for the property. #js #javascript #vanillajs

📢How to make an Object Property READ ONLY 📢

we ❤️ const, but  it does not work  😭 with object property. 

Solution :

👉 Object.defineProperty( obj , 'fname', { writable : false })

Here the third parameter is the configuration for the  property. 

#js #javascript #vanillajs
Pranoy (@prnysarkar) 's Twitter Profile Photo

💡 Array destructuring 🔨 in ES6 You can unpack 🔧 [array] values very easily syntax : let [ newVarName = 'defult' ] = someArr; 👇 example: fName is assigned from the first element from the array, similarly lName, and default is assigned to variable age #javascript #es6 #js

💡 Array destructuring 🔨 in ES6

You can unpack 🔧 [array] values very easily

syntax :
let [ newVarName = 'defult' ] = someArr;

👇 example:  fName is assigned from the first element from the array, similarly lName, and default is assigned to variable age

#javascript #es6 #js
Pranoy (@prnysarkar) 's Twitter Profile Photo

📢 Ever heard of 📘 contact API ? With this new API you can request for user contacts 📙, it will drastically 📈 improve UX in many sites where phone no is needed like recharge sites, contact forms etc. pranoysarkar.github.io/WebBleed/ #js #frontend #javascript #vanillajs

📢 Ever heard of 📘 contact API ?

With this new API you can request for user contacts 📙, it will drastically 📈 improve UX in many sites where phone no is needed like recharge sites, contact forms etc.

pranoysarkar.github.io/WebBleed/

#js #frontend #javascript #vanillajs
Pranoy (@prnysarkar) 's Twitter Profile Photo

📳 Vibration API for web Vibration is one of the 💪 powerful way to communicate with the user The same ux can be generate form web as well, twitter web is already doing with their like ❤️ button 🔶navigator.vibrate(pattern) Try now pranoysarkar.github.io/WebBleed/ #js #javascript

Pranoy (@prnysarkar) 's Twitter Profile Photo

🔋 How to get battery status on web 🔌 Current battery status can be crucial in many applications like prompting user to save unsaved contents/forms if the battery is about to die, or giving warning while downloading big files. 👉 navigator.getBattery(); #javascript #js

🔋 How to get battery status on web 🔌

Current battery status can be crucial in many applications like    prompting user to save unsaved contents/forms if the battery is about to die, or giving  warning while downloading big files.

👉 navigator.getBattery();

#javascript #js
Pranoy (@prnysarkar) 's Twitter Profile Photo

📡 Network Information API on WEB 📡 Many time you want to know user's internet speed ⚡️, important for streaming websites to choose optimal video quality. 👉 navigator.connection ; It can also be used to detect if the user is gone offline ✂️ #js #javascript

📡 Network Information API on WEB 📡

Many time you want to know user's internet speed ⚡️, important for streaming  websites to choose optimal video quality.

👉 navigator.connection ;

It can also be used to detect if the user is gone offline ✂️

#js #javascript
Pranoy (@prnysarkar) 's Twitter Profile Photo

📢Native Share API on Web📢 Day by day the the gap between native app and website is minimizing. For any app, sharing (image 📷/text📝/video🎥) is one of the necessary feature. This API exactly helps to do that. 👉 navigator.share() demo link given below #javascript #js

📢Native Share API on Web📢

Day by day the the gap between native app and website is minimizing. For any app, sharing (image 📷/text📝/video🎥) is one of the necessary feature. This API exactly helps to do that.

👉 navigator.share()

demo link given below

#javascript #js
Pranoy (@prnysarkar) 's Twitter Profile Photo

📢 Screen Capture API 📢 Even wondered how Google Meet allows you to 📺 share screen without installing anything not even any extension. 👉 navigator.mediaDevices.getDisplayMedia() With this API you can request user to share screen pranoysarkar.github.io/WebBleed/?page… #javascript #js

📢 Screen Capture API 📢

Even wondered how Google Meet allows you to 📺 share screen without installing anything not even any extension.

👉 navigator.mediaDevices.getDisplayMedia()

With this API you can request user to share screen

pranoysarkar.github.io/WebBleed/?page…

#javascript #js
Pranoy (@prnysarkar) 's Twitter Profile Photo

💡 Elegant way to handle URL on web💡 Many time we have to have deal with URLs, find out domain/port/path and or query params). Solution: 👉 new URL(anyURL) WebBleed: demo link given bellow #javascript #js Demo and More => pranoysarkar.github.io/WebBleed/?page…

💡 Elegant way to handle URL on web💡

Many time we have to have deal with URLs, find out domain/port/path and or query params). 

Solution:
👉 new URL(anyURL)

WebBleed: demo link given bellow

#javascript #js

Demo and More => 
pranoysarkar.github.io/WebBleed/?page…
Pranoy (@prnysarkar) 's Twitter Profile Photo

Hey Guys I built something Basically I was struggling for build architecture diagram for a project, but honestly I dint find any suitable solution So introducing #zDiagram , A simple free tool to create high quality project architecture loom.com/share/7c3be2d9…

Pranoy (@prnysarkar) 's Twitter Profile Photo

Hey Makers, Make a clear architecture diagram of you project with zdiagram.com which will help you to get more visibility, easier to manage and will be easier to explain to others #buildinpublic