Questions tagged «tostring»



30
වස්තුවක් නූලකට පරිවර්තනය කිරීම
ජාවාස්ක්‍රිප්ට් වස්තුවක් නූලක් බවට පරිවර්තනය කරන්නේ කෙසේද? උදාහරණයක්: var o = {a:1, b:2} console.log(o) console.log('Item: ' + o) ප්‍රතිදානය: වස්තුව {a = 1, b = 2} // ඉතා හොඳ කියවිය හැකි ප්‍රතිදානය :) අයිතමය: [වස්තු වස්තුව] // ඇතුළත ඇති දේ ගැන අදහසක් නැත :(
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.