Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 22nd, 2018
79
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
let obj = {field1: 7};
let field1= obj.field1;
console.log(field1); // 7
field1= 8;
console.log(obj.field1) // 7, а мне нужно чтобы было 8
console.log(obj[field1])
Add Comment
Please,
Sign In
to add comment
Public Pastes
G2A.com Free Gift Card Guide Mar 2024 FIX
GetText | 2 min ago | 0.55 KB
Things map
HTML 5 | 3 min ago | 0.65 KB
Kaitun
Lua | 5 min ago | 203.20 KB
🤑 G2A.com Free Gift Card Guide Mar 2024 FIX 🤑
GetText | 32 min ago | 0.39 KB
XYZ Registration Form
HTML | 33 min ago | 2.61 KB
Test
JSON | 1 hour ago | 0.07 KB
Untitled
JavaScript | 1 hour ago | 0.05 KB
zidane
PHP | 1 hour ago | 9.76 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!