Tags » Javscript

자바스크립트의 4가지 같음(equality) 비교

4가지 같음(equality) 비교 방식

  • 느슨한 비교 (==)
  • 엄격한 비교 (===)
  • SameValueZero
  • SameValue

3가지 값 비교 연산자

  • ==
  • ===
  • Object.is

느슨한 비교 (==)

비교 대상인 양쪽을 정해진 규칙에 따라 공통의 타입으로 형 변환을 한 다음 비교합니다. 24 more words


Moving an object with XST3 and Rects

Same example as fillrect but with an object rect similar to SDL.

winscreen(640, 480, 0, 1);
setfont(28, 'Algerian');

var rect = new Rect();
rect.x = 0, rect.y = 0;
rect.width = 100, rect.height = 100;

function main() {
rect.x = getmousex();
rect.y = getmousey();
fillRect(rect.x-rect.width/2, rect.y-rect.height/2, rect.width, rect.height);


JS Garbage Collection Improvements

Check out the latest updates to JavaScripts Garbage collection here


And get more information on must have Node packages at Great Commentary on NodeJS Resources


Data Flow in We Go Too

I designed We Go Too as a data driven app.  Users create our data by recording
or plotting a route on our react native map. Routes are searcheable by keyword 
and group events can be created to share a route in real time with friends. 54 more words

How to detect mobile browser

var ua = navigator.userAgent;
if ((ua.match(/touch|tablet|mobile|android|ipad|blackberry|rim|phone|silk/i)) && !window.location.href.match(/fullsite=true/i)){


No PhD required

CLM 6.0.2 comes with the server side implementation for the Plain Old XML profile or POXProfile. You can test this feature using one of the recent… 401 more words

Rational Publishing Engine

[MongoDB] Insert new data as first index in existing Array

For instance if i have following simple data:

{ "_id" : ObjectId("56a9d168e7d029513ded52f3"), "first_roof" : [ { "seq" : [ "John", "Ben", "Lee" ] } ] }
… 101 more words